term: track current window title in terminal struct

This commit is contained in:
Daniel Eklöf 2019-07-21 17:35:53 +02:00
parent 326808f94d
commit 97350f6488
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 17 additions and 4 deletions

View file

@ -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);