diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-07-21 15:35:53 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-07-21 15:35:53 +0000 |
| commit | 97350f6488c9e431d4b93a173734c9a3735769d5 (patch) | |
| tree | 51dc5ee04d4e0b94d645078a10a975f8fab84799 /terminal.h | |
| parent | csi: 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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |
