Prints junk to screen in Windows Console (cmd.exe) #29
Labels
Comments
|
Done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
|
Done |
Re: @bitcrazed's comment #12 (comment):
Apparently Console can support colors, but we need a special syscall
SetConsoleModefor Windows to do so.I think Go's
x/sys/windowspackage exposes the necessaryGetConsoleModeandSetConsoleModesyscalls, so this should be doable.Basic flow:
ORwithENABLE_VIRTUAL_TERMINAL_PROCESSINGI 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: