aboutsummaryrefslogtreecommitdiffstats
path: root/tests/xterm-osc-2-title.sh
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2018-12-09 16:06:42 +0100
committerBoris Faure <billiob@gmail.com>2018-12-27 22:14:44 +0100
commit479d96e5dc652b30e2993e63a5191e4b599d3d9b (patch)
tree52d6074a81d96e4f242ca4a26f30bfb08730bc02 /tests/xterm-osc-2-title.sh
parenttermptyesc: act as xterm-337 (diff)
downloadterminology-479d96e5dc652b30e2993e63a5191e4b599d3d9b.tar.gz
termptyesc: act like xterm, do not report title/icon-name
Diffstat (limited to '')
-rwxr-xr-xtests/xterm-osc-2-title.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/xterm-osc-2-title.sh b/tests/xterm-osc-2-title.sh
new file mode 100755
index 0000000..fedb237
--- /dev/null
+++ b/tests/xterm-osc-2-title.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+# fill space with E
+printf '\033#8'
+#set color
+printf '\033[46;31;3m'
+
+# set title
+printf '\033]2;echo "fail"\n\007'
+
+# query title, and device attributes
+printf '\033]2;?\007\033[>c'
+
+# set again title
+printf '\033]2;title-v2\007'
+
+# set empty
+printf '\033]2;\007'
+