Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ SetAlternateScreenBufferEnabled
Method
SetAlternateScreenBufferEnabled
pkg/iostreams/iostreams.go:412–414 ·
view source on GitHub ↗
(enabled bool)
Source
from the content-addressed store, hash-verified
410
}
411
412
func
(s *IOStreams) SetAlternateScreenBufferEnabled(enabled bool) {
413
s.alternateScreenBufferEnabled = enabled
414
}
415
416
func
(s *IOStreams) RefreshScreen() {
417
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