Skip to content

Commit

Permalink
fix var not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Feb 2, 2021
1 parent e68e5e5 commit 4fd11c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion color_windows.go
Expand Up @@ -84,7 +84,7 @@ func tryApplyOnCONOUT() bool {

func tryApplyOnStdout() bool {
// try direct open syscall.Stdout
err = EnableVirtualTerminalProcessing(syscall.Stdout, true)
err := EnableVirtualTerminalProcessing(syscall.Stdout, true)
if err != nil {
saveInternalError(err)
return false
Expand Down

0 comments on commit 4fd11c1

Please sign in to comment.