csi: implement CSI 22t and CSI 23t

22;0|1|2t pushes the current window title/icon to the stack, while 23
pops it.

The second parameter, 0|1|2 has the following meaning:

0 - push/pop icon+title
1 - push/pop icon
2 - push/pop title
This commit is contained in:
Daniel Eklöf 2019-07-21 17:48:06 +02:00
parent 97350f6488
commit 64135ae365
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 38 additions and 6 deletions

View file

@ -156,7 +156,7 @@ foot+base|foot base fragment,
ritm=\E[23m,
rmacs=\E(B,
rmam=\E[?7l,
rmcup=\E[?1049l,
rmcup=\E[?1049l\E[23;0t,
rmir=\E[4l,
rmkx=\E[?1l\E>,
rmso=\E[27m,
@ -169,7 +169,7 @@ foot+base|foot base fragment,
sitm=\E[3m,
smacs=\E(0,
smam=\E[?7h,
smcup=\E[?1049h,
smcup=\E[?1049h\E[22;0t,
smir=\E[4h,
smkx=\E[?1h\E=,
smso=\E[7m,