Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brocode/fw
/ is_stdout_a_tty
Function
is_stdout_a_tty
src/spawn/mod.rs:45–47 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
43
}
44
45
fn is_stdout_a_tty() -> bool {
46
std::io::stdout().is_terminal()
47
}
48
49
fn is_stderr_a_tty() -> bool {
50
std::io::stderr().is_terminal()
Callers
1
spawn_maybe
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected