diff options
author | 2018-02-05 08:21:54 +0000 | |
---|---|---|
committer | 2018-02-05 08:21:54 +0000 | |
commit | a4c723ed97d179831bce6f3e865845421fb6bb47 (patch) | |
tree | 2a7883ab77cee194b588987527ea9b53cc7770c9 /usr.bin/tmux/tmux.h | |
parent | tweak previous; (diff) | |
download | wireguard-openbsd-a4c723ed97d179831bce6f3e865845421fb6bb47.tar.xz wireguard-openbsd-a4c723ed97d179831bce6f3e865845421fb6bb47.zip |
Add struct status_line to hold status line members of struct client, not
used yet but will be soon. From Thomas Adam.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index c868b198bd1..749c6abb105 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.817 2018/02/04 10:10:39 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.818 2018/02/05 08:21:54 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -1312,6 +1312,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 *); @@ -1354,10 +1361,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 |