Search found 42 matches

by yal2du
Thu Nov 18, 2021 11:11 pm
Forum: Support and Development
Topic: possibility of enabling virtual terminal processing mode for windows console process
Replies: 3
Views: 4078

Re: possibility of enabling virtual terminal processing mode for windows console process

pgimeno wrote: Thu Nov 18, 2021 10:05 pm oh ANSI.SYS is back? ^^
yesss ^.^

Here is my attempt using ffi ... [redacted see example code in next post]
by yal2du
Thu Nov 18, 2021 6:54 pm
Forum: Support and Development
Topic: possibility of enabling virtual terminal processing mode for windows console process
Replies: 3
Views: 4078

possibility of enabling virtual terminal processing mode for windows console process

Since Windows 10 build 18298 (end of 2018), it is possible to send terminal escape sequences to stdout (e.g. with print()) and have them properly interpreted as xterm terminal emulator formatting and cursor commands *if* a call to the winapi function SetConsoleMode is made to enable it. Pretty niche...