antirez/linenoise

Test with Windows 10 ENABLE_VIRTUAL_TERMINAL_PROCESSING

Artoria2e5 opened this issue · 1 comments

Mostly for the sake of the Linux Subsystem, the Windows 10 console window now has VT100 support after a switch that can be changed by SetConsoleMode. Microsoft has posted an example at https://docs.microsoft.com/en-us/windows/console/console-virtual-terminal-sequences; the code provided can be turned into a wrapper that spawns the actual linenoise application or just invoked at the beginning of main() on Windows.