mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Sync OpenBSD patchset 1104:
Add a flag to move-window to renumber the windows in a session (closing any gaps) and add an option to do this automatically each time a window is killed. From Thomas Adam.
This commit is contained in:
		@@ -263,6 +263,9 @@ server_kill_window(struct window *w)
 | 
			
		||||
			} else
 | 
			
		||||
				server_redraw_session_group(s);
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if (options_get_number(&s->options, "renumber-windows"))
 | 
			
		||||
			session_renumber_windows(s);
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user