Make refresh-client force update of jobs, from Sina Siadat.

This commit is contained in:
nicm
2015-09-14 10:25:52 +00:00
parent 901c2eb20a
commit 16efa84838
5 changed files with 26 additions and 12 deletions

View File

@ -65,10 +65,13 @@ 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'))
} else if (args_has(args, 'S')) {
c->flags |= CLIENT_STATUSFORCE;
server_status_client(c);
else
} else {
c->flags |= CLIENT_STATUSFORCE;
server_redraw_client(c);
}
return (CMD_RETURN_NORMAL);
}