mirror of
https://github.com/tmux/tmux.git
synced 2026-05-30 14:16:18 +00:00
Add window-pane-status-format options and adjust the default second
status line to show panes, also change how window-style is checked now it is a pane option.
This commit is contained in:
@@ -189,7 +189,7 @@ static const char *options_table_copy_mode_line_numbers_list[] = {
|
||||
"#{E:pane-status-style}" \
|
||||
"]" \
|
||||
"#[push-default]" \
|
||||
"#P[#{pane_width}x#{pane_height}]" \
|
||||
"#{T:window-pane-status-format}" \
|
||||
"#[pop-default]" \
|
||||
"#[norange list=on default] " \
|
||||
"," \
|
||||
@@ -200,7 +200,7 @@ static const char *options_table_copy_mode_line_numbers_list[] = {
|
||||
"}" \
|
||||
"]" \
|
||||
"#[push-default]" \
|
||||
"#P[#{pane_width}x#{pane_height}]*" \
|
||||
"#{T:window-pane-current-status-format}" \
|
||||
"#[pop-default]" \
|
||||
"#[norange list=on default] " \
|
||||
"}"
|
||||
@@ -1519,6 +1519,21 @@ const struct options_table_entry options_table[] = {
|
||||
.text = "Default style of the active pane."
|
||||
},
|
||||
|
||||
{ .name = "window-pane-current-status-format",
|
||||
.type = OPTIONS_TABLE_STRING,
|
||||
.scope = OPTIONS_TABLE_WINDOW,
|
||||
.default_str = "#P:[#T]#{?pane_flags,#{pane_flags}, }",
|
||||
.text = "Format of the current window pane in the status line."
|
||||
},
|
||||
|
||||
{ .name = "window-pane-status-format",
|
||||
.type = OPTIONS_TABLE_STRING,
|
||||
.scope = OPTIONS_TABLE_WINDOW,
|
||||
.default_str = "#P:[#T]#{?pane_flags,#{pane_flags}, }",
|
||||
.text = "Format of window panes in the status line, except the "
|
||||
"current pane."
|
||||
},
|
||||
|
||||
{ .name = "window-size",
|
||||
.type = OPTIONS_TABLE_CHOICE,
|
||||
.scope = OPTIONS_TABLE_WINDOW,
|
||||
|
||||
Reference in New Issue
Block a user