Add display-panes-format to change the top-of-pane text shown with

display-panes.
This commit is contained in:
nicm
2026-06-08 20:42:39 +00:00
parent fe986a52d6
commit ea51cdb3f2
2 changed files with 46 additions and 9 deletions

View File

@@ -648,6 +648,14 @@ const struct options_table_entry options_table[] = {
.text = "Colour of not active panes for 'display-panes'."
},
{ .name = "display-panes-format",
.type = OPTIONS_TABLE_STRING,
.scope = OPTIONS_TABLE_SESSION,
.default_str = "#[align=right]#{pane_width}x#{pane_height}",
.text = "Format of text shown by 'display-panes', expanded for each "
"pane."
},
{ .name = "display-panes-time",
.type = OPTIONS_TABLE_NUMBER,
.scope = OPTIONS_TABLE_SESSION,