cli/pkg/iostreams/console_windows.go
2022-10-11 14:29:50 +02:00

10 lines
287 B
Go

//go:build windows
// +build windows
package iostreams
func hasAlternateScreenBuffer(hasTrueColor bool) bool {
// on Windows we just assume that alternate screen buffer is supported if we
// enabled virtual terminal processing, which in turn enables truecolor
return hasTrueColor
}