mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 12:37:02 +00:00
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:
@ -77,7 +77,7 @@ static const char *options_table_pane_border_indicators_list[] = {
|
||||
"off", "colour", "arrows", "both", NULL
|
||||
};
|
||||
static const char *options_table_pane_border_lines_list[] = {
|
||||
"single", "double", "heavy", "simple", "number", NULL
|
||||
"single", "double", "heavy", "simple", "number", "spaces", NULL
|
||||
};
|
||||
static const char *options_table_popup_border_lines_list[] = {
|
||||
"single", "double", "heavy", "simple", "rounded", "padded", "none", NULL
|
||||
|
@ -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]);
|
||||
|
2
tmux.1
2
tmux.1
@ -5078,6 +5078,8 @@ heavy lines using UTF-8 characters
|
||||
simple ASCII characters
|
||||
.It number
|
||||
the pane number
|
||||
.It spaces
|
||||
space characters
|
||||
.El
|
||||
.Pp
|
||||
.Ql double
|
||||
|
Reference in New Issue
Block a user