mirror of
https://github.com/tmux/tmux.git
synced 2025-01-14 20:58:53 +00:00
Make status-interval of zero work as indented.
This commit is contained in:
parent
f835be4bb2
commit
e9d32f901a
@ -280,7 +280,7 @@ server_client_status_timer(void)
|
||||
interval = options_get_number(&s->options, "status-interval");
|
||||
|
||||
difference = tv.tv_sec - c->status_timer.tv_sec;
|
||||
if (difference >= interval) {
|
||||
if (interval != 0 && difference >= interval) {
|
||||
status_update_jobs(c);
|
||||
c->flags |= CLIENT_STATUS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user