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

Function supportsInteractive

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

Source from the content-addressed store, hash-verified

33 * Returns false if in headless mode or TTY-less environment
34 */
35export function supportsInteractive(): boolean {
36 return !isTTYless() && !isHeadlessMode();
37}
38
39/**
40 * Check if a prompt was supplied via CLI arguments

Callers

nothing calls this directly

Calls 2

isTTYlessFunction · 0.85
isHeadlessModeFunction · 0.85

Tested by

no test coverage detected