mirror of
https://github.com/tmux/tmux.git
synced 2026-10-11 04:44:25 +00:00
Merge branch 'obsd-master'
This commit is contained in:
@@ -839,7 +839,7 @@ mode_tree_draw(struct mode_tree_data *mtd)
|
|||||||
|
|
||||||
memcpy(&gc0, &grid_default_cell, sizeof gc0);
|
memcpy(&gc0, &grid_default_cell, sizeof gc0);
|
||||||
memcpy(&gc, &grid_default_cell, sizeof gc);
|
memcpy(&gc, &grid_default_cell, sizeof gc);
|
||||||
style_apply(&gc, oo, "mode-style", NULL);
|
style_apply(&gc, oo, "tree-mode-selection-style", NULL);
|
||||||
memcpy(&box_gc, &grid_default_cell, sizeof box_gc);
|
memcpy(&box_gc, &grid_default_cell, sizeof box_gc);
|
||||||
style_apply(&box_gc, oo, "tree-mode-border-style", NULL);
|
style_apply(&box_gc, oo, "tree-mode-border-style", NULL);
|
||||||
|
|
||||||
|
|||||||
@@ -1718,6 +1718,15 @@ const struct options_table_entry options_table[] = {
|
|||||||
.text = "Style of preview indicator in tree mode."
|
.text = "Style of preview indicator in tree mode."
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{ .name = "tree-mode-selection-style",
|
||||||
|
.type = OPTIONS_TABLE_STRING,
|
||||||
|
.scope = OPTIONS_TABLE_WINDOW,
|
||||||
|
.default_str = "#{E:mode-style}",
|
||||||
|
.flags = OPTIONS_TABLE_IS_STYLE,
|
||||||
|
.separator = ",",
|
||||||
|
.text = "Style of the selected line in tree mode."
|
||||||
|
},
|
||||||
|
|
||||||
{ .name = "window-active-style",
|
{ .name = "window-active-style",
|
||||||
.type = OPTIONS_TABLE_STRING,
|
.type = OPTIONS_TABLE_STRING,
|
||||||
.scope = OPTIONS_TABLE_WINDOW|OPTIONS_TABLE_PANE,
|
.scope = OPTIONS_TABLE_WINDOW|OPTIONS_TABLE_PANE,
|
||||||
|
|||||||
8
tmux.1
8
tmux.1
@@ -5915,6 +5915,14 @@ see the
|
|||||||
.Sx STYLES
|
.Sx STYLES
|
||||||
section.
|
section.
|
||||||
.Pp
|
.Pp
|
||||||
|
.It Ic tree\-mode\-selection\-style Ar style
|
||||||
|
Set the style of the selected line in tree mode.
|
||||||
|
For how to specify
|
||||||
|
.Ar style ,
|
||||||
|
see the
|
||||||
|
.Sx STYLES
|
||||||
|
section.
|
||||||
|
.Pp
|
||||||
.It Ic window\-status\-activity\-style Ar style
|
.It Ic window\-status\-activity\-style Ar style
|
||||||
Set status line style for windows with an activity alert.
|
Set status line style for windows with an activity alert.
|
||||||
For how to specify
|
For how to specify
|
||||||
|
|||||||
Reference in New Issue
Block a user