diff options
author | nicm <nicm> | 2022-02-04 11:57:22 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2022-04-06 14:19:49 +0100 |
commit | 9efa4199554b4b5613a19bf5b4d9036869978b4c (patch) | |
tree | c87e27441828bd906f1333a0f5ad969471c161c2 /screen-redraw.c | |
parent | 921be619303fdad6db3c46662fc0cde2903c9535 (diff) | |
download | rtmux-9efa4199554b4b5613a19bf5b4d9036869978b4c.tar.gz rtmux-9efa4199554b4b5613a19bf5b4d9036869978b4c.tar.bz2 rtmux-9efa4199554b4b5613a19bf5b4d9036869978b4c.zip |
Use ACS for pane border indicators so they work with different line
types, from Thomas Adam.
Diffstat (limited to 'screen-redraw.c')
-rw-r--r-- | screen-redraw.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/screen-redraw.c b/screen-redraw.c index 8dd75f40..ef79d9aa 100644 --- a/screen-redraw.c +++ b/screen-redraw.c @@ -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); |