Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ StdinTerminal
Function
StdinTerminal
src/compat/stdin.cpp:47–54 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
45
}
46
47
bool StdinTerminal()
48
{
49
#ifdef WIN32
50
return _isatty(_fileno(stdin));
51
#else
52
return isatty(fileno(stdin));
53
#endif
54
}
55
56
bool StdinReady()
57
{
Callers
2
CommandLineRPC
Function · 0.85
StdinReady
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected