mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Count brackets in #{?...} so that nested conditional formats work, from
Daniel De Graaf.
This commit is contained in:
		
							
								
								
									
										2
									
								
								screen.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								screen.c
									
									
									
									
									
								
							@@ -194,8 +194,6 @@ screen_resize_y(struct screen *s, u_int sy)
 | 
			
		||||
		 * Now just increase the history size, if possible, to take
 | 
			
		||||
		 * over the lines which are left. If history is off, delete
 | 
			
		||||
		 * lines from the top.
 | 
			
		||||
		 *
 | 
			
		||||
		 * XXX Should apply history limit?
 | 
			
		||||
		 */
 | 
			
		||||
		available = s->cy;
 | 
			
		||||
		if (gd->flags & GRID_HISTORY)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user