Is it possible to submit ANSI Escape Sequences in swipl.exe for locating the cursor? I.e., using something such as:
?- write('\33[0;0H').
Incidentally, this works on swipl-win.exe (SWI-Prolog 9.0.3 and Windows 10).
Is it possible to submit ANSI Escape Sequences in swipl.exe for locating the cursor? I.e., using something such as:
?- write('\33[0;0H').
Incidentally, this works on swipl-win.exe (SWI-Prolog 9.0.3 and Windows 10).
Not at the moment. There is some stuff to make color sequences work defined in pl-ntconsole.c. That also contains the ANSI sequence decoding copied from swipl-win.exe, but most has been disabled using #ifdef
. Requires someone with the courage to find the console replacement implementation Not me