Open MagicalDrizzle opened 10 months ago
C:>echo a | lolcrab ←[38;2;175;240;91ma←[38;2;187;227;72m ←[39m
It seems this is because of this issue, which seems to say your program has to opt-in to cmd's color processing, as setting HKEY_CURRENT_USER\Console\VirtualTerminalLevel to 1 makes lolcrab works. https://superuser.com/questions/413073/windows-console-with-ansi-colors-handling
cmd
HKEY_CURRENT_USER\Console\VirtualTerminalLevel
lolcrab
Other implementations (e.g https://github.com/kiedtl/Meow) work fine without setting this regkey.
It seems this is because of this issue, which seems to say your program has to opt-in to
cmd
's color processing, as settingHKEY_CURRENT_USER\Console\VirtualTerminalLevel
to 1 makeslolcrab
works. https://superuser.com/questions/413073/windows-console-with-ansi-colors-handlingOther implementations (e.g https://github.com/kiedtl/Meow) work fine without setting this regkey.