mirror of
https://github.com/tmux/tmux.git
synced 2025-10-16 14:56:03 +00:00
Introduce a new window option: tiled-layout-max-columns. It configures
the maximum number of columns in the tiled layout. The default value is 0 which means no limit and makes the change backward-compatible. From vkadlcik at redhat dot com.
This commit is contained in:
@@ -1395,6 +1395,16 @@ const struct options_table_entry options_table[] = {
|
||||
.text = "Whether typing should be sent to all panes simultaneously."
|
||||
},
|
||||
|
||||
{ .name = "tiled-layout-max-columns",
|
||||
.type = OPTIONS_TABLE_NUMBER,
|
||||
.scope = OPTIONS_TABLE_WINDOW,
|
||||
.minimum = 0,
|
||||
.maximum = USHRT_MAX,
|
||||
.default_num = 0,
|
||||
.text = "Maximum number of columns in the 'tiled' layout. "
|
||||
"A value of 0 means no limit."
|
||||
},
|
||||
|
||||
{ .name = "window-active-style",
|
||||
.type = OPTIONS_TABLE_STRING,
|
||||
.scope = OPTIONS_TABLE_WINDOW|OPTIONS_TABLE_PANE,
|
||||
|
Reference in New Issue
Block a user