aboutsummaryrefslogtreecommitdiff
path: root/status.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-01-13 14:01:13 +0000
committerThomas Adam <thomas@xteddy.org>2017-01-13 14:01:13 +0000
commit780dd7ac823215f1c3a468816db18ab745b22d49 (patch)
tree9e57b7b042c5dac2c1df03f07e5acd6464519b83 /status.c
parent2311bbd28a227a8b6e6e52bf30665b37315cad11 (diff)
parent08d21936e4559a92174361d7785ca3e967972edb (diff)
downloadrtmux-780dd7ac823215f1c3a468816db18ab745b22d49.tar.gz
rtmux-780dd7ac823215f1c3a468816db18ab745b22d49.tar.bz2
rtmux-780dd7ac823215f1c3a468816db18ab745b22d49.zip
Merge branch 'obsd-master'
Diffstat (limited to 'status.c')
-rw-r--r--status.c25
1 files changed, 13 insertions, 12 deletions
diff --git a/status.c b/status.c
index c54d8f40..9fc9a502 100644
--- a/status.c
+++ b/status.c
@@ -278,18 +278,19 @@ status_get_window_at(struct client *c, u_int x)
int
status_redraw(struct client *c)
{
- struct screen_write_ctx ctx;
- struct session *s = c->session;
- struct winlink *wl;
- struct screen old_status, window_list;
- struct grid_cell stdgc, lgc, rgc, gc;
- struct options *oo;
- time_t t;
- char *left, *right, *sep;
- u_int offset, needed;
- u_int wlstart, wlwidth, wlavailable, wloffset, wlsize;
- size_t llen, rlen, seplen;
- int larrow, rarrow;
+ struct screen_write_ctx ctx;
+ struct session *s = c->session;
+ struct winlink *wl;
+ struct screen old_status, window_list;
+ struct grid_cell stdgc, lgc, rgc, gc;
+ struct options *oo;
+ time_t t;
+ char *left, *right;
+ const char *sep;
+ u_int offset, needed;
+ u_int wlstart, wlwidth, wlavailable, wloffset, wlsize;
+ size_t llen, rlen, seplen;
+ int larrow, rarrow;
/* No status line? */
if (c->tty.sy == 0 || !options_get_number(s->options, "status"))