Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/cli/cli
/ SetAlternateScreenBufferEnabled
Method
SetAlternateScreenBufferEnabled
pkg/iostreams/iostreams.go:399–401 ·
view source on GitHub ↗
(enabled bool)
Source
from the content-addressed store, hash-verified
397
}
398
399
func
(s *IOStreams) SetAlternateScreenBufferEnabled(enabled bool) {
400
s.alternateScreenBufferEnabled = enabled
401
}
402
403
func
(s *IOStreams) RefreshScreen() {
404
if
s.IsStdoutTTY() {
Callers
4
TestWatchRun
Function · 0.80
Test_checksRun
Function · 0.80
TestPrCheckStatusSummaryWithColor
Function · 0.80
TestStopAlternateScreenBuffer
Function · 0.80
Calls
no outgoing calls
Tested by
4
TestWatchRun
Function · 0.64
Test_checksRun
Function · 0.64
TestPrCheckStatusSummaryWithColor
Function · 0.64
TestStopAlternateScreenBuffer
Function · 0.64