mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Fix size of rightmost preview section.
This commit is contained in:
		@@ -512,7 +512,7 @@ window_tree_draw_session(struct window_tree_modedata *data, struct session *s,
 | 
				
			|||||||
		else
 | 
							else
 | 
				
			||||||
			offset = (i * each);
 | 
								offset = (i * each);
 | 
				
			||||||
		if (loop == end - 1)
 | 
							if (loop == end - 1)
 | 
				
			||||||
			width = each - 1 + remaining;
 | 
								width = each + remaining;
 | 
				
			||||||
		else
 | 
							else
 | 
				
			||||||
			width = each - 1;
 | 
								width = each - 1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -638,7 +638,7 @@ window_tree_draw_window(struct window_tree_modedata *data, struct session *s,
 | 
				
			|||||||
		else
 | 
							else
 | 
				
			||||||
			offset = (i * each);
 | 
								offset = (i * each);
 | 
				
			||||||
		if (loop == end - 1)
 | 
							if (loop == end - 1)
 | 
				
			||||||
			width = each - 1 + remaining;
 | 
								width = each + remaining;
 | 
				
			||||||
		else
 | 
							else
 | 
				
			||||||
			width = each - 1;
 | 
								width = each - 1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user