Use ACS for pane border indicators so they work with different line

types, from Thomas Adam.
pull/3160/head
nicm 2022-02-04 11:57:22 +00:00 committed by Nicholas Marriott
parent 921be61930
commit 9efa419955
1 changed files with 3 additions and 1 deletions

View File

@ -727,8 +727,10 @@ screen_redraw_draw_borders_cell(struct screen_redraw_ctx *ctx, u_int i, u_int j)
border == SCREEN_REDRAW_BORDER_RIGHT) ||
(cell_type == CELL_RIGHTJOIN &&
border == SCREEN_REDRAW_BORDER_LEFT)))) &&
screen_redraw_check_is(x, y, pane_status, active))
screen_redraw_check_is(x, y, pane_status, active)) {
gc.attr |= GRID_ATTR_CHARSET;
utf8_set(&gc.data, BORDER_MARKERS[border]);
}
}
tty_cell(tty, &gc, &grid_default_cell, NULL);