mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-03 16:46:18 +00:00 
			
		
		
		
	Another fix to make other-end forget the selection mode, from Anindya Mukherjee.
This commit is contained in:
		@@ -1361,7 +1361,9 @@ window_copy_cmd_other_end(struct window_copy_cmd_state *cs)
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
	struct window_mode_entry	*wme = cs->wme;
 | 
						struct window_mode_entry	*wme = cs->wme;
 | 
				
			||||||
	u_int				 np = wme->prefix;
 | 
						u_int				 np = wme->prefix;
 | 
				
			||||||
 | 
						struct window_copy_mode_data	*data = wme->data;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						data->selflag = SEL_CHAR;
 | 
				
			||||||
	if ((np % 2) != 0)
 | 
						if ((np % 2) != 0)
 | 
				
			||||||
		window_copy_other_end(wme);
 | 
							window_copy_other_end(wme);
 | 
				
			||||||
	return (WINDOW_COPY_CMD_NOTHING);
 | 
						return (WINDOW_COPY_CMD_NOTHING);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user