mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	When exiting alternate screen, there is no need to reflow when going
back to old size since the contents will be overwritten. GitHub issue 3510.
This commit is contained in:
		
							
								
								
									
										2
									
								
								screen.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								screen.c
									
									
									
									
									
								
							@@ -626,7 +626,7 @@ screen_alternate_off(struct screen *s, struct grid_cell *gc, int cursor)
 | 
				
			|||||||
	 * before copying back.
 | 
						 * before copying back.
 | 
				
			||||||
	 */
 | 
						 */
 | 
				
			||||||
	if (s->saved_grid != NULL)
 | 
						if (s->saved_grid != NULL)
 | 
				
			||||||
		screen_resize(s, s->saved_grid->sx, s->saved_grid->sy, 1);
 | 
							screen_resize(s, s->saved_grid->sx, s->saved_grid->sy, 0);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/*
 | 
						/*
 | 
				
			||||||
	 * Restore the cursor position and cell. This happens even if not
 | 
						 * Restore the cursor position and cell. This happens even if not
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user