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