Commit: 51fe39869616628c7fa70e2386844af8a777dc8c
Parent: 49a37f7810f1bd42c2f6cc1f9cd6c59a1d117030
Author: Randy Palamar
Date: Thu, 23 Jan 2025 06:35:33 -0700
terminal: mark DECSLRM as unknown for now
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/terminal.c b/terminal.c
@@ -965,12 +965,14 @@ handle_csi(Term *t, CSI *csi)
if (csi->priv) {
/* NOTE: XTSAVE: save the value of a private mode */
set_mode(t, csi, 1, t->mode, &t->saved_mode);
- } else {
+ } else if (csi->argc == 1) {
/* NOTE: SCOSC/ANSI.SYS: save the cursor */
cursor_alt(t, 1);
+ } else {
+ goto unknown;
}
break;
- case 't': window_manipulation(t, csi); break;
+ case 't': window_manipulation(t, csi); break;
case '!':
if (csi->raw.data[csi->raw.len - 1] == 'p') {
/* NOTE: DECSTR: soft terminal reset IGNORED */