diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2022-02-04 11:57:23 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2022-02-04 11:57:23 +0000 |
commit | 0719e0e4feeb5e454c9e2543bf4483332990cb48 (patch) | |
tree | df04f1c5681c14736a2ecc28dea50c8b089d80ef | |
parent | 5594be7219ee5ec12c5f9a6d20718ac62fd9066e (diff) |
Use ACS for pane border indicators so they work with different line
types, from Thomas Adam.
-rw-r--r-- | usr.bin/tmux/screen-redraw.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/tmux/screen-redraw.c b/usr.bin/tmux/screen-redraw.c index 77041cce920..afe8de9022d 100644 --- a/usr.bin/tmux/screen-redraw.c +++ b/usr.bin/tmux/screen-redraw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: screen-redraw.c,v 1.93 2022/02/01 14:46:41 nicm Exp $ */ +/* $OpenBSD: screen-redraw.c,v 1.94 2022/02/04 11:57:22 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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); |