mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Add a flag to display-menu to select the manu item chosen first, GitHub
issue 3442.
This commit is contained in:
		@@ -962,8 +962,8 @@ mode_tree_display_menu(struct mode_tree_data *mtd, struct client *c, u_int x,
 | 
			
		||||
		x -= (menu->width + 4) / 2;
 | 
			
		||||
	else
 | 
			
		||||
		x = 0;
 | 
			
		||||
	if (menu_display(menu, 0, NULL, x, y, c, NULL, mode_tree_menu_callback,
 | 
			
		||||
	    mtm) != 0)
 | 
			
		||||
	if (menu_display(menu, 0, 0, NULL, x, y, c, NULL,
 | 
			
		||||
	    mode_tree_menu_callback, mtm) != 0)
 | 
			
		||||
		menu_free(menu);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user