UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

10 lines • 679 B
import type { TerminalTheme } from "./theme.ts"; /** * The terminal's background is only knowable by asking it, and the answer arrives one OSC round * trip after the first frame is already on screen. Remembering the last answer lets the next launch * paint the right theme immediately; `COLORFGBG` is the only environment signal and most terminals * do not set it, so without this an `auto` user is repainted on every start. */ export declare function readTerminalThemeHint(agentDir?: string): TerminalTheme | undefined; export declare function writeTerminalThemeHint(terminalTheme: TerminalTheme, agentDir?: string): void; //# sourceMappingURL=terminal-theme-cache.d.ts.map