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

后端 未结 13 1904
忘了有多久
忘了有多久 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:24

    Base on @BrainSlugs83 you can activate on the current Windows 10 version via register, with this command line:

    REG ADD HKCU\CONSOLE /f /v VirtualTerminalLevel /t REG_DWORD /d 1
    

提交回复
热议问题