How to make win32 console recognize ANSI/VT100 escape sequences?

后端 未结 13 1621
忘了有多久
忘了有多久 2020-11-22 03:47

I\'m building a lightweight version of the ncurses library. So far, it works pretty well with VT100-compatible terminals, but win32 console fails to recognise the \\03

13条回答
  •  别那么骄傲
    2020-11-22 04:26

    Starting from Windows 10 TH2 (v1511), conhost.exe and cmd.exe support ANSI and VT100 Escape Sequences out of the box (although they have to be enabled).

    See my answer over at superuser for more details.

提交回复
热议问题