aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2025-08-15 14:48:10 +0200
committerTom de Vries <tdevries@suse.de>2025-08-15 14:48:10 +0200
commit543c077be3c523faefd65fa3f80d14f435130637 (patch)
tree3a7fef10f8a29c2f9e34d5cbe6519f89fb104377
parent52c052f6a7d3ad69996c6c628c81b6254a1e3534 (diff)
downloadbinutils-543c077be3c523faefd65fa3f80d14f435130637.zip
binutils-543c077be3c523faefd65fa3f80d14f435130637.tar.gz
binutils-543c077be3c523faefd65fa3f80d14f435130637.tar.bz2
[gdb/testsuite] Add Term::_csi_t
Add support for: - Window manipulation (XTWINOPS) CSI t
-rw-r--r--gdb/testsuite/lib/tuiterm.exp17
1 files changed, 17 insertions, 0 deletions
diff --git a/gdb/testsuite/lib/tuiterm.exp b/gdb/testsuite/lib/tuiterm.exp
index 06217a1..ce8af8d 100644
--- a/gdb/testsuite/lib/tuiterm.exp
+++ b/gdb/testsuite/lib/tuiterm.exp
@@ -631,6 +631,23 @@ proc Term::_csi_l { args } {
}
}
+# Window manipulation (XTWINOPS, CSI Ps ; Ps ; Ps t)
+#
+# https://invisible-island.net/xterm/ctlseqs/ctlseqs.html
+proc Term::_csi_t { arg1 arg2 arg3 } {
+ if { $arg1 == 22 && $arg2 == 0 && $arg3 == 0 } {
+ _log "ignored: Save xterm icon and window title on stack"
+ return
+ }
+
+ if { $arg1 == 23 && $arg2 == 0 && $arg3 == 0 } {
+ _log "ignored: Restore xterm icon and window title from stack"
+ return
+ }
+
+ error unsupported
+}
+
# DECSET (CSI ? h)
#
# https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-Mouse-Tracking