Hi
I wonder if there is any terminal wizard lurking on the forums? I have a artist using
moebius ansi editor to create the picture you see on the left.
But if i use the below pascal or attache python code in the pic my result is what you see on the right.
What am i doing wrong? I'm using mobaxterm on win10 and stuff like cmatrix and pipes.sh renders correctly.
So how must i change my pascal code to get the ansi like output of moebius?
The medtricorder.ans file can be found hereprogram ansview;
{$mode objfpc}{$H+}
uses Process, SysUtils, Classes;
var s: ansistring = '';
strs: TStringList;
begin
strs := TStringList.Create;
try
strs.LoadFromFile('data/medtricorder.ans');
writeln(strs.text);
//if RunCommand('/bin/bash', ['-c', format('echo %s', [strs.text] ) ], s) then writeln(s)
finally
strs.free;
end;
end.