Move the jobs output cache into the formats code so that #() work more

generally (for example, again working in set-titles-string).
This commit is contained in:
nicm
2015-05-27 13:28:04 +00:00
parent 7140cce7f3
commit 379400cfa6
7 changed files with 206 additions and 269 deletions

View File

@ -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);