summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-refresh-client.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-05-27 13:28:04 +0000
committernicm <nicm@openbsd.org>2015-05-27 13:28:04 +0000
commitafe199e1f5f87d4840cbc37a990f93ac3a500fb1 (patch)
tree0a93bddf64f412f55469338777e81b2b83977b5d /usr.bin/tmux/cmd-refresh-client.c
parentcheck if the packet is for us or if we're promisc before we cut the (diff)
downloadwireguard-openbsd-afe199e1f5f87d4840cbc37a990f93ac3a500fb1.tar.xz
wireguard-openbsd-afe199e1f5f87d4840cbc37a990f93ac3a500fb1.zip
Move the jobs output cache into the formats code so that #() work more
generally (for example, again working in set-titles-string).
Diffstat (limited to 'usr.bin/tmux/cmd-refresh-client.c')
-rw-r--r--usr.bin/tmux/cmd-refresh-client.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/tmux/cmd-refresh-client.c b/usr.bin/tmux/cmd-refresh-client.c
index f4e85ca9f5b..f1b9504430b 100644
--- a/usr.bin/tmux/cmd-refresh-client.c
+++ b/usr.bin/tmux/cmd-refresh-client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-refresh-client.c,v 1.13 2014/10/20 22:29:25 nicm Exp $ */
+/* $OpenBSD: cmd-refresh-client.c,v 1.14 2015/05/27 13:28:04 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -65,10 +65,9 @@ cmd_refresh_client_exec(struct cmd *self, struct cmd_q *cmdq)
}
if (tty_set_size(&c->tty, w, h))
recalculate_sizes();
- } else if (args_has(args, 'S')) {
- status_update_jobs(c);
+ } else if (args_has(args, 'S'))
server_status_client(c);
- } else
+ else
server_redraw_client(c);
return (CMD_RETURN_NORMAL);