package beaver import "golang.org/x/sys/windows" func init() { mode := uint32(0) if err := windows.GetConsoleMode(windows.Stdout, &mode); err != nil { return } mode |= windows.ENABLE_VIRTUAL_TERMINAL_PROCESSING _ = windows.SetConsoleMode(windows.Stdout, mode) }