MCPcopy Create free account
hub / github.com/cli/cli / hasAlternateScreenBuffer

Function hasAlternateScreenBuffer

pkg/iostreams/console_windows.go:5–9  ·  view source on GitHub ↗
(hasTrueColor bool)

Source from the content-addressed store, hash-verified

3package iostreams
4
5func hasAlternateScreenBuffer(hasTrueColor bool) bool {
6 // on Windows we just assume that alternate screen buffer is supported if we
7 // enabled virtual terminal processing, which in turn enables truecolor
8 return hasTrueColor
9}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected