File: console_windows.go

package info (click to toggle)
gh 2.46.0-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 15,548 kB
  • sloc: sh: 227; makefile: 117
file content (10 lines) | stat: -rw-r--r-- 287 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
//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
}