aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-21 15:48:06 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-21 15:48:06 +0000
commit64135ae365b55d207bc071738f0a90b71becb435 (patch)
tree5b5999179c4d1d9092126234f9e6b366b8dba8d9 /terminal.h
parentterm: track current window title in terminal struct (diff)
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
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index fd924b42..a6cf65cd 100644
--- a/terminal.h
+++ b/terminal.h
@@ -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;