Add DECRQM support for synchronized output mode

Applications can now detect synchronized output support by querying
CSI ? 2026 $ p and receiving CSI ? 2026 ; <mode> $ y response.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Chris Lloyd
2025-12-09 08:26:04 -08:00
co-authored by Claude
parent 5d0eae8576
commit af5dbfcd2c
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -2298,6 +2298,7 @@ export class InputHandler extends Disposable implements IInputHandler {
if (p === 1048) return f(p, V.SET); // xterm always returns SET here
if (p === 47 || p === 1047 || p === 1049) return f(p, b2v(active === alt));
if (p === 2004) return f(p, b2v(dm.bracketedPasteMode));
if (p === 2026) return f(p, b2v(dm.synchronizedOutput));
return f(p, V.NOT_RECOGNIZED);
}