ANSI Escape Sequences in swipl.exe

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).

1 Like

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 :slight_smile: Not me :slight_smile:

1 Like