MCPcopy
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
399func (s *IOStreams) SetAlternateScreenBufferEnabled(enabled bool) {
400 s.alternateScreenBufferEnabled = enabled
401}
402
403func (s *IOStreams) RefreshScreen() {
404 if s.IsStdoutTTY() {

Callers 4

TestWatchRunFunction · 0.80
Test_checksRunFunction · 0.80

Calls

no outgoing calls

Tested by 4

TestWatchRunFunction · 0.64
Test_checksRunFunction · 0.64