aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2018-02-05 10:02:31 +0000
committerThomas Adam <thomas@xteddy.org>2018-02-05 10:02:31 +0000
commit88711e885eeab58fe372ce5aa64282f7557c3620 (patch)
tree1f91e6d3f63e84ead5bf00f0a6d9b116dbf27a5c /tmux.h
parent2d5101621b972a8e32d1ec29b544da46e88f319f (diff)
parent7f4513ec34862805b06b2ff776785a36fdfec796 (diff)
downloadrtmux-88711e885eeab58fe372ce5aa64282f7557c3620.tar.gz
rtmux-88711e885eeab58fe372ce5aa64282f7557c3620.tar.bz2
rtmux-88711e885eeab58fe372ce5aa64282f7557c3620.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/tmux.h b/tmux.h
index 58d0cdf0..861489e4 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1316,6 +1316,13 @@ struct cmd_entry {
enum cmd_retval (*exec)(struct cmd *, struct cmdq_item *);
};
+/* Status line. */
+struct status_line {
+ struct event timer;
+ struct screen status;
+ struct screen *old_status;
+};
+
/* Client connection. */
typedef int (*prompt_input_cb)(struct client *, void *, const char *, int);
typedef void (*prompt_free_cb)(void *);
@@ -1358,10 +1365,7 @@ struct client {
struct event click_timer;
u_int click_button;
- struct event status_timer;
- struct screen status;
-
- struct screen *old_status;
+ struct status_line status;
#define CLIENT_TERMINAL 0x1
#define CLIENT_LOGIN 0x2