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

@ -246,6 +246,7 @@ struct terminal {
int selected_charset;
enum charset charset[4]; /* G0-G3 */
char *window_title;
tll(char *) window_title_stack;
struct vt vt;
struct kbd kbd;