mirror of https://github.com/Hilbis/Hilbish
chore: merge from master
commit
a004f315be
|
@ -0,0 +1,11 @@
|
||||||
|
// +build windows
|
||||||
|
|
||||||
|
package main
|
||||||
|
|
||||||
|
import "golang.org/x/sys/windows"
|
||||||
|
|
||||||
|
func init() {
|
||||||
|
var mode uint32
|
||||||
|
windows.GetConsoleMode(windows.Stdout, &mode)
|
||||||
|
windows.SetConsoleMode(windows.Stdout, mode | windows.ENABLE_VIRTUAL_TERMINAL_PROCESSING)
|
||||||
|
}
|
Loading…
Reference in New Issue