Add support for the xterm(1) title stack, from Brad Town, GitHub issue

1075.
This commit is contained in:
nicm
2017-10-05 13:29:18 +00:00
parent 6a292f09ba
commit 88517ceebb
3 changed files with 95 additions and 2 deletions

4
tmux.h
View File

@ -660,8 +660,10 @@ struct screen_sel {
};
/* Virtual screen. */
struct screen_titles;
struct screen {
char *title;
struct screen_titles *titles;
struct grid *grid; /* grid data */
@ -2082,6 +2084,8 @@ void screen_reset_tabs(struct screen *);
void screen_set_cursor_style(struct screen *, u_int);
void screen_set_cursor_colour(struct screen *, const char *);
void screen_set_title(struct screen *, const char *);
void screen_push_title(struct screen *);
void screen_pop_title(struct screen *);
void screen_resize(struct screen *, u_int, u_int, int);
void screen_set_selection(struct screen *,
u_int, u_int, u_int, u_int, u_int, struct grid_cell *);