mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-03 16:46:18 +00:00 
			
		
		
		
	Add -Z flag to choose-tree, choose-client, choose-buffer to
automatically zoom the pane when the mode is entered and unzoom when it exits, assuming the pane is not already zoomed. Add -Z to the default key bindings.
This commit is contained in:
		@@ -256,6 +256,7 @@ window_client_init(struct window_pane *wp, __unused struct cmd_find_state *fs,
 | 
			
		||||
	data->data = mode_tree_start(wp, args, window_client_build,
 | 
			
		||||
	    window_client_draw, NULL, data, window_client_sort_list,
 | 
			
		||||
	    nitems(window_client_sort_list), &s);
 | 
			
		||||
	mode_tree_zoom(data->data, args);
 | 
			
		||||
 | 
			
		||||
	mode_tree_build(data->data);
 | 
			
		||||
	mode_tree_draw(data->data);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user