Great, applied, thanks



On Fri, 4 Feb 2022 at 11:52, Thomas Adam <[email protected]> wrote:

> Hello,
>
> I was just looking at the pane-border-indicator setting, with the 'arrows'
> options and noticed that despite valid UTF-8 characters being drawn for
> pane-border-lines, the arrows only showed correctly when pane-border-lines
> was
> set to 'single'.
>
> Setting pane-border-lines to 'double', for example, rendered the lines in
> UTF-8, but made the arrow indicators render using ACS equivalents.
>
> I believe the following patch should fix this.
>
> Kindly,
> Thomas
>
> diff --git a/screen-redraw.c b/screen-redraw.c
> index 8dd75f40c..ef79d9aaa 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);
>
> --
> You received this message because you are subscribed to the Google Groups
> "tmux-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/tmux-users/20220204115150.h27bwjxbrrg2dogx%40moo
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/tmux-users/CAEdLfcFht%3DVvFTtg3wfuCSJaZB3wF1EnX6a0CeVfG2sL4f92KA%40mail.gmail.com.

Reply via email to