aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-21 15:35:53 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-21 15:35:53 +0000
commit97350f6488c9e431d4b93a173734c9a3735769d5 (patch)
tree51dc5ee04d4e0b94d645078a10a975f8fab84799 /terminal.h
parentcsi: remove TODO; we have our own terminfo (diff)
term: track current window title in terminal struct
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index c757065a..fd924b42 100644
--- a/terminal.h
+++ b/terminal.h
@@ -245,6 +245,7 @@ struct terminal {
int selected_charset;
enum charset charset[4]; /* G0-G3 */
+ char *window_title;
struct vt vt;
struct kbd kbd;
@@ -341,3 +342,5 @@ void term_mouse_up(struct terminal *term, int button, int row, int col,
bool shift, bool alt, bool ctrl);
void term_mouse_motion(struct terminal *term, int button, int row, int col,
bool shift, bool alt, bool ctrl);
+
+void term_set_window_title(struct terminal *term, const char *title);