Add pane-border-lines value to use spaces for pane borders, from lukas

dot 23022005 at gmail dot com in GitHub issue 4587.
This commit is contained in:
nicm
2025-08-14 06:44:50 +00:00
parent 4ce893ebc0
commit 84775130a0
4 changed files with 9 additions and 2 deletions

View File

@ -87,6 +87,10 @@ screen_redraw_border_set(struct window *w, struct window_pane *wp,
gc->attr &= ~GRID_ATTR_CHARSET;
utf8_set(&gc->data, SIMPLE_BORDERS[cell_type]);
break;
case PANE_LINES_SPACES:
gc->attr &= ~GRID_ATTR_CHARSET;
utf8_set(&gc->data, ' ');
break;
default:
gc->attr |= GRID_ATTR_CHARSET;
utf8_set(&gc->data, CELL_BORDERS[cell_type]);