9 lines
269 B
Go
9 lines
269 B
Go
//go: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
|
|
}
|