mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Automatically reflow wrapped lines when a pane is resized, requested by
many over the years and finally implemented by Richard Woodbury.
This commit is contained in:
		@@ -335,9 +335,9 @@ window_copy_resize(struct window_pane *wp, u_int sx, u_int sy)
 | 
			
		||||
	struct screen			*s = &data->screen;
 | 
			
		||||
	struct screen_write_ctx	 	 ctx;
 | 
			
		||||
 | 
			
		||||
	screen_resize(s, sx, sy);
 | 
			
		||||
	screen_resize(s, sx, sy, 0);
 | 
			
		||||
	if (data->backing != &wp->base)
 | 
			
		||||
		screen_resize(data->backing, sx, sy);
 | 
			
		||||
		screen_resize(data->backing, sx, sy, 0);
 | 
			
		||||
 | 
			
		||||
	if (data->cy > sy - 1)
 | 
			
		||||
		data->cy = sy - 1;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user