mirror of
https://github.com/tmux/tmux.git
synced 2025-01-08 08:58:47 +00:00
Use ACS for pane border indicators so they work with different line
types, from Thomas Adam.
This commit is contained in:
parent
3276f0c184
commit
07e2d88c20
@ -727,9 +727,11 @@ screen_redraw_draw_borders_cell(struct screen_redraw_ctx *ctx, u_int i, u_int j)
|
|||||||
border == SCREEN_REDRAW_BORDER_RIGHT) ||
|
border == SCREEN_REDRAW_BORDER_RIGHT) ||
|
||||||
(cell_type == CELL_RIGHTJOIN &&
|
(cell_type == CELL_RIGHTJOIN &&
|
||||||
border == SCREEN_REDRAW_BORDER_LEFT)))) &&
|
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]);
|
utf8_set(&gc.data, BORDER_MARKERS[border]);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
tty_cell(tty, &gc, &grid_default_cell, NULL);
|
tty_cell(tty, &gc, &grid_default_cell, NULL);
|
||||||
if (isolates)
|
if (isolates)
|
||||||
|
Loading…
Reference in New Issue
Block a user