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