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