(...parts: (string | number)[])
| 16 | /** Generate an OSC sequence: ESC ] p1;p2;...;pN <terminator> |
| 17 | * Uses ST terminator for Kitty (avoids beeps), BEL for others */ |
| 18 | export function osc(...parts: (string | number)[]): string { |
| 19 | const terminator = env.terminal === 'kitty' ? ST : BEL |
| 20 | return `${OSC_PREFIX}${parts.join(SEP)}${terminator}` |
| 21 | } |
| 22 | |
| 23 | /** |
| 24 | * Wrap an escape sequence for terminal multiplexer passthrough. |
no outgoing calls
no test coverage detected