Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lolcrab prints literal ANSI escape sequences #10

Open
MagicalDrizzle opened this issue Dec 12, 2023 · 0 comments
Open

lolcrab prints literal ANSI escape sequences #10

MagicalDrizzle opened this issue Dec 12, 2023 · 0 comments

Comments

@MagicalDrizzle
Copy link

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

Other implementations (e.g https://github.com/kiedtl/Meow) work fine without setting this regkey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant