@invisiblecities/sidequest-cqo
Version:
Configuration-agnostic TypeScript and ESLint orchestrator with real-time watch mode, SQLite persistence, and intelligent terminal detection
18 lines • 679 B
TypeScript
/**
* Advanced terminal background detection using OSC escape sequences
* This module provides various methods to detect terminal background color
*/
/**
* Attempt to detect terminal background color using OSC 11 escape sequence
* This is an async method that queries the terminal directly
*/
export declare function detectTerminalBackground(): Promise<"light" | "dark" | undefined>;
/**
* Enhanced heuristic detection as fallback
*/
export declare function detectTerminalModeHeuristic(): "light" | "dark";
/**
* Show current terminal environment for debugging
*/
export declare function debugTerminalEnvironment(): void;
//# sourceMappingURL=terminal-detector.d.ts.map