MCPcopy Index your code
hub / github.com/continuedev/continue / isTTYless

Function isTTYless

extensions/cli/src/util/cli.ts:23–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21 * Returns true if stdin, stdout, and stderr are all not TTYs
22 */
23export function isTTYless(): boolean {
24 return (
25 process.stdin.isTTY !== true &&
26 process.stdout.isTTY !== true &&
27 process.stderr.isTTY !== true
28 );
29}
30
31/**
32 * Check if environment supports interactive features (TUI)

Callers 3

startTUIChatFunction · 0.85
startRemoteTUIChatFunction · 0.85
supportsInteractiveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected