MCPcopy
hub / github.com/gdamore/tcell / OptAltScreen

TypeAlias OptAltScreen

tscreen.go:80–80  ·  view source on GitHub ↗

OptAltScreen controls whether the alternate screen buffer is used. The default is true. The TCELL_ALTSCREEN=disable environment override is still honored.

Source from the content-addressed store, hash-verified

78// The default is true. The TCELL_ALTSCREEN=disable environment override
79// is still honored.
80type OptAltScreen bool
81
82func (o OptAltScreen) apply(t *tScreen) {
83 t.altScreen = bool(o)

Calls

no outgoing calls

Tested by

no test coverage detected