MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / consumeTerminalColorSchemeReport

Method consumeTerminalColorSchemeReport

packages/pi-tui/src/tui.ts:871–881  ·  view source on GitHub ↗
(data: string)

Source from the content-addressed store, hash-verified

869 }
870
871 private consumeTerminalColorSchemeReport(data: string): boolean {
872 const scheme = parseTerminalColorSchemeReport(data);
873 if (!scheme) {
874 return false;
875 }
876
877 for (const listener of this.terminalColorSchemeListeners) {
878 listener(scheme);
879 }
880 return true;
881 }
882
883 private consumeCellSizeResponse(data: string): boolean {
884 // Response format: ESC [ 6 ; height ; width t

Callers 1

handleInputMethod · 0.95

Calls 2

listenerFunction · 0.85

Tested by

no test coverage detected