mirror of
https://github.com/tmux/tmux.git
synced 2026-01-11 16:30:22 +00:00
Merge branch 'obsd-master'
This commit is contained in:
21
tmux.h
21
tmux.h
@@ -1167,6 +1167,16 @@ struct window_pane_resize {
|
||||
};
|
||||
TAILQ_HEAD(window_pane_resizes, window_pane_resize);
|
||||
|
||||
/*
|
||||
* Client theme, this is worked out from the background colour if not reported
|
||||
* by terminal.
|
||||
*/
|
||||
enum client_theme {
|
||||
THEME_UNKNOWN,
|
||||
THEME_LIGHT,
|
||||
THEME_DARK
|
||||
};
|
||||
|
||||
/* Child window structure. */
|
||||
struct window_pane {
|
||||
u_int id;
|
||||
@@ -1230,6 +1240,7 @@ struct window_pane {
|
||||
struct grid_cell cached_gc;
|
||||
struct grid_cell cached_active_gc;
|
||||
struct colour_palette palette;
|
||||
enum client_theme last_theme;
|
||||
|
||||
int pipe_fd;
|
||||
struct bufferevent *pipe_event;
|
||||
@@ -1911,16 +1922,6 @@ struct overlay_ranges {
|
||||
u_int nx[OVERLAY_MAX_RANGES];
|
||||
};
|
||||
|
||||
/*
|
||||
* Client theme, this is worked out from the background colour if not reported
|
||||
* by terminal.
|
||||
*/
|
||||
enum client_theme {
|
||||
THEME_UNKNOWN,
|
||||
THEME_LIGHT,
|
||||
THEME_DARK
|
||||
};
|
||||
|
||||
/* Client connection. */
|
||||
typedef int (*prompt_input_cb)(struct client *, void *, const char *, int);
|
||||
typedef void (*prompt_free_cb)(void *);
|
||||
|
||||
Reference in New Issue
Block a user