mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:44:18 +00:00 
			
		
		
		
	There is no point in reflowing panes which have not changed width.
This commit is contained in:
		
							
								
								
									
										3
									
								
								screen.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								screen.c
									
									
									
									
									
								
							@@ -197,7 +197,8 @@ screen_resize(struct screen *s, u_int sx, u_int sy, int reflow)
 | 
				
			|||||||
		 * is simpler and more reliable so let's do that.
 | 
							 * is simpler and more reliable so let's do that.
 | 
				
			||||||
		 */
 | 
							 */
 | 
				
			||||||
		screen_reset_tabs(s);
 | 
							screen_reset_tabs(s);
 | 
				
			||||||
	}
 | 
						} else
 | 
				
			||||||
 | 
							reflow = 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (sy != screen_size_y(s))
 | 
						if (sy != screen_size_y(s))
 | 
				
			||||||
		screen_resize_y(s, sy);
 | 
							screen_resize_y(s, sy);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user