MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / buildOscQuery

Function buildOscQuery

cli/src/utils/terminal-color-detection.ts:92–94  ·  view source on GitHub ↗

* Build OSC query string * @param oscCode - The OSC code (10 for foreground, 11 for background)

(oscCode: number)

Source from the content-addressed store, hash-verified

90 * @param oscCode - The OSC code (10 for foreground, 11 for background)
91 */
92function buildOscQuery(oscCode: number): string {
93 return `\x1b]${oscCode};?\x07`
94}
95
96/**
97 * Query the terminal for OSC color information.

Callers 1

queryTerminalOSCFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected