summaryrefslogtreecommitdiffstats
path: root/cmd-refresh-client.c
diff options
context:
space:
mode:
authornicm <nicm>2015-05-27 13:28:04 +0000
committernicm <nicm>2015-05-27 13:28:04 +0000
commit379400cfa69f8df9ac13b070c60d5f8a282ddf6e (patch)
treed67394e5c975bae54fc5da0c95b2447ea1b48d09 /cmd-refresh-client.c
parent7140cce7f31eb2135491fdc62645b4753d941520 (diff)
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 'cmd-refresh-client.c')
-rw-r--r--cmd-refresh-client.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/cmd-refresh-client.c b/cmd-refresh-client.c
index f693872c..b6d5d624 100644
--- a/cmd-refresh-client.c
+++ b/cmd-refresh-client.c
@@ -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);