mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Check for no pane border status line separately from top/bottom.
This commit is contained in:
		@@ -271,13 +271,19 @@ screen_redraw_type_of_cell(struct client *c, u_int px, u_int py,
 | 
				
			|||||||
			borders |= 2;
 | 
								borders |= 2;
 | 
				
			||||||
		if (screen_redraw_cell_border(c, px, py + 1, pane_status))
 | 
							if (screen_redraw_cell_border(c, px, py + 1, pane_status))
 | 
				
			||||||
			borders |= 1;
 | 
								borders |= 1;
 | 
				
			||||||
	} else {
 | 
						} else if (pane_status == PANE_STATUS_BOTTOM) {
 | 
				
			||||||
		if (py == 0 ||
 | 
							if (py == 0 ||
 | 
				
			||||||
		    screen_redraw_cell_border(c, px, py - 1, pane_status))
 | 
							    screen_redraw_cell_border(c, px, py - 1, pane_status))
 | 
				
			||||||
			borders |= 2;
 | 
								borders |= 2;
 | 
				
			||||||
		if (py != sy - 1 &&
 | 
							if (py != sy - 1 &&
 | 
				
			||||||
		    screen_redraw_cell_border(c, px, py + 1, pane_status))
 | 
							    screen_redraw_cell_border(c, px, py + 1, pane_status))
 | 
				
			||||||
			borders |= 1;
 | 
								borders |= 1;
 | 
				
			||||||
 | 
						} else {
 | 
				
			||||||
 | 
							if (py == 0 ||
 | 
				
			||||||
 | 
							    screen_redraw_cell_border(c, px, py - 1, pane_status))
 | 
				
			||||||
 | 
								borders |= 2;
 | 
				
			||||||
 | 
							if (screen_redraw_cell_border(c, px, py + 1, pane_status))
 | 
				
			||||||
 | 
								borders |= 1;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/*
 | 
						/*
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user