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

Windows 10 colored terminal #67

Open
MikuAuahDark opened this issue Jul 25, 2019 · 0 comments
Open

Windows 10 colored terminal #67

MikuAuahDark opened this issue Jul 25, 2019 · 0 comments

Comments

@MikuAuahDark
Copy link

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

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