debugger.lua icon indicating copy to clipboard operation
debugger.lua copied to clipboard

Windows 10 colored terminal

Open MikuAuahDark opened this issue 6 years ago • 0 comments

Windows 10 anniversary update added ENABLE_VIRTUAL_TERMINAL_PROCESSING flag to console mode, which can be used to enable ANSI color codes. This can be enabled for LuaJIT environment (where FFI is available). Below is my way to enable it.

https://github.com/MikuAuahDark/livesim2/blob/master/logging.lua#L59-L63

MikuAuahDark avatar Jul 25 '19 11:07 MikuAuahDark