MCPcopy
hub / github.com/steipete/oracle / isTty

Function isTty

src/cli/sessionDisplay.ts:18–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16import { MODEL_CONFIGS } from '../oracle.js';
17
18const isTty = (): boolean => Boolean(process.stdout.isTTY);
19const dim = (text: string): string => (isTty() ? kleur.dim(text) : text);
20export const MAX_RENDER_BYTES = 200_000;
21

Callers 2

dimFunction · 0.70
attachSessionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected