aboutsummaryrefslogtreecommitdiffstats
path: root/tests/xterm-osc-2-title.sh
blob: fedb23740de1021c4aa7568c46dcd277986bd070 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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'