summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-03-12 12:02:42 +0000
committerThomas Adam <thomas@xteddy.org>2019-03-12 12:02:42 +0000
commit3ec05e940505f1d0b4e55413f949fdfaceddedde (patch)
tree843d754e76bb7386f39cb5743ab8de859e880ddd /tmux.h
parentf8a30e158821876e8c30d46ab2728bce739e35de (diff)
parent3f6bfbaf2babcc7f08f628a82ff31b0b52014e58 (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 66ea3b7d..7090402d 100644
--- a/tmux.h
+++ b/tmux.h
@@ -724,7 +724,10 @@ struct window_mode_entry {
const struct window_mode *mode;
void *data;
+ struct screen *screen;
u_int prefix;
+
+ TAILQ_ENTRY (window_mode_entry) entry;
};
/* Child window structure. */
@@ -770,6 +773,7 @@ struct window_pane {
int fd;
struct bufferevent *event;
+ u_int disabled;
struct event resize_timer;
@@ -795,7 +799,7 @@ struct window_pane {
struct grid *saved_grid;
struct grid_cell saved_cell;
- struct window_mode_entry *mode;
+ TAILQ_HEAD (, window_mode_entry) modes;
struct event modetimer;
time_t modelast;
char *searchstr;
@@ -2210,6 +2214,7 @@ int window_pane_set_mode(struct window_pane *,
const struct window_mode *, struct cmd_find_state *,
struct args *);
void window_pane_reset_mode(struct window_pane *);
+void window_pane_reset_mode_all(struct window_pane *);
void window_pane_key(struct window_pane *, struct client *,
struct session *, struct winlink *, key_code,
struct mouse_event *);