aboutsummaryrefslogtreecommitdiffstats
path: root/tests/xterm-osc-1-icon.sh
blob: 461f9c794ecf9ec53953251d64fc1283ee373114 (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 icon
printf '\033]1;echo "fail"\n\007'

# query icon, and device attributes
printf '\033]1;?\007\033[>c'

# set again icon
printf '\033]1;icon-v2\007'

# set empty
printf '\033]1;\007'