Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ SetStderrTTY
Method
SetStderrTTY
pkg/iostreams/iostreams.go:193–196 ·
view source on GitHub ↗
(isTTY bool)
Source
from the content-addressed store, hash-verified
191
}
192
193
func
(s *IOStreams) SetStderrTTY(isTTY bool) {
194
s.stderrTTYOverride = true
195
s.stderrIsTTY = isTTY
196
}
197
198
func
(s *IOStreams) IsStderrTTY() bool {
199
if
s.stderrTTYOverride {
Callers
15
Test
Function · 0.95
newTestVirtualTerminalIOStreams
Function · 0.95
TestDeleteRun
Function · 0.80
TestListRun
Function · 0.80
TestViewRun
Function · 0.80
TestListRun
Function · 0.80
Test_NewCmdView
Function · 0.80
Test_viewRun
Function · 0.80
Test_NewCmdList
Function · 0.80
Test_listRun
Function · 0.80
Test_NewCmdCheck
Function · 0.80
Test_checkRun
Function · 0.80
Calls
no outgoing calls
Tested by
15
Test
Function · 0.76
newTestVirtualTerminalIOStreams
Function · 0.76
TestDeleteRun
Function · 0.64
TestListRun
Function · 0.64
TestViewRun
Function · 0.64
TestListRun
Function · 0.64
Test_NewCmdView
Function · 0.64
Test_viewRun
Function · 0.64
Test_NewCmdList
Function · 0.64
Test_listRun
Function · 0.64
Test_NewCmdCheck
Function · 0.64
Test_checkRun
Function · 0.64