mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Fix two copy mode problems:
1. In vi mode the selection doesn't include the last character if you moved the cursor up or left. 2. In emacs mode the selection includes the last character if you moved the cursor to the left. From Balazs Kezes.
This commit is contained in:
		@@ -199,6 +199,7 @@ window_copy_init(struct window_pane *wp)
 | 
			
		||||
		mode_key_init(&data->mdata, &mode_key_tree_emacs_copy);
 | 
			
		||||
	else
 | 
			
		||||
		mode_key_init(&data->mdata, &mode_key_tree_vi_copy);
 | 
			
		||||
	s->sel.modekeys = keys;
 | 
			
		||||
 | 
			
		||||
	data->backing = NULL;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user