-
Notifications
You must be signed in to change notification settings - Fork 95
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
Prints junk to screen in Windows Console (cmd.exe) #29
Labels
good first issue
Good for newcomers
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Re: @bitcrazed's comment #12 (comment):
Apparently Console can support colors, but we need a special syscall
SetConsoleMode
for Windows to do so.I think Go's
x/sys/windows
package exposes the necessaryGetConsoleMode
andSetConsoleMode
syscalls, so this should be doable.Basic flow:
OR
withENABLE_VIRTUAL_TERMINAL_PROCESSING
I probably won't get to this right away, but I've left enough info for someone else to be able to fix it if they have the time and inclination before I do.
@rs Want to tag with with Up For Grabs / Good First Issue? I think any Windows + Go developer should be able to handle this (and I can post it in the #golang Slack as well)
The text was updated successfully, but these errors were encountered: