xterm: add SCOSC/SCORC, CHT, CBT, HPA, HPR and VPR; fix HTS

CSI s / CSI u save and restore the cursor (without parameters; prefixed
forms such as the kitty keyboard query CSI ? u are left alone). CSI I and
CSI Z move by tab stops, CSI ` sets the column, CSI a and CSI e move
relative. ESC H (HTS) set no tab stop because it called isSetAt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-25 23:26:18 +00:00
parent 7592aa1a82
commit 326e7710d4
7 changed files with 164 additions and 9 deletions
+10
View File
@@ -471,6 +471,16 @@ class _TerminalDebuggerHandler implements EscapeHandler {
onCommand('setCursorUnderline');
}
@override
void cursorForwardTab(int amount) {
onCommand('cursorForwardTab $amount');
}
@override
void cursorBackwardTab(int amount) {
onCommand('cursorBackwardTab $amount');
}
@override
void requestStatusString(String setting) {
onCommand('requestStatusString $setting');