spiegel_podman/pkg/terminal/console_unix.go
Brent Baude de6a8609a8 Set console mode for windows
Windows terminal handling is different than darwin and linux.  It needs to have the terminal mode set to enable virtual terminal processing.  This allows colors and other things to work.

Signed-off-by: Brent Baude <bbaude@redhat.com>

<MH: Tweaked imports to compile>

Signed-off-by: Matt Heon <matthew.heon@pm.me>
2020-07-06 13:41:39 -04:00

8 lines
132 B
Go

// +build !windows
package terminal
// SetConsole for non-windows environments is a no-op
func SetConsole() error {
return nil
}