mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Store and restore cursor position when copy mode is resized, from
Anindya Mukherjee.
This commit is contained in:
		
							
								
								
									
										2
									
								
								grid.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								grid.c
									
									
									
									
									
								
							@@ -1285,7 +1285,7 @@ grid_reflow(struct grid *gd, u_int sx)
 | 
			
		||||
 | 
			
		||||
		/*
 | 
			
		||||
		 * If the line is exactly right or the first character is wider
 | 
			
		||||
		 * than the targe width, just move it across unchanged.
 | 
			
		||||
		 * than the target width, just move it across unchanged.
 | 
			
		||||
		 */
 | 
			
		||||
		if (width == sx || first > sx) {
 | 
			
		||||
			grid_reflow_move(target, gl);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user