feat(core): implement automatic terminal detection and capability warnings (#14426)

This commit is contained in:
Spencer
2026-03-03 06:23:26 +00:00
parent e43b1cff58
commit 3f7181c6da
7 changed files with 224 additions and 240 deletions
@@ -270,6 +270,10 @@ export class TerminalCapabilityManager {
return this.kittyEnabled;
}
isKeyboardProtocolSupported(): boolean {
return this.kittySupported || this.modifyOtherKeysSupported;
}
supportsOsc9Notifications(env: NodeJS.ProcessEnv = process.env): boolean {
if (env['WT_SESSION']) {
return false;