Allow attributes in menu style, from Japin Li in GitHub issue 4194.

This commit is contained in:
nicm 2024-10-17 17:10:41 +00:00
parent 934035db71
commit cfd3c02306
2 changed files with 0 additions and 4 deletions

1
menu.c
View File

@ -453,7 +453,6 @@ menu_set_style(struct client *c, struct grid_cell *gc, const char *style,
gc->bg = sytmp.gc.bg; gc->bg = sytmp.gc.bg;
} }
} }
gc->attr = 0;
} }
struct menu_data * struct menu_data *

3
tmux.1
View File

@ -4476,21 +4476,18 @@ See the
.Sx STYLES .Sx STYLES
section on how to specify section on how to specify
.Ar style . .Ar style .
Attributes are ignored.
.It Ic menu-selected-style Ar style .It Ic menu-selected-style Ar style
Set the selected menu item style. Set the selected menu item style.
See the See the
.Sx STYLES .Sx STYLES
section on how to specify section on how to specify
.Ar style . .Ar style .
Attributes are ignored.
.It Ic menu-border-style Ar style .It Ic menu-border-style Ar style
Set the menu border style. Set the menu border style.
See the See the
.Sx STYLES .Sx STYLES
section on how to specify section on how to specify
.Ar style . .Ar style .
Attributes are ignored.
.It Ic menu-border-lines Ar type .It Ic menu-border-lines Ar type
Set the type of characters used for drawing menu borders. Set the type of characters used for drawing menu borders.
See See