diff options
author | Thomas Adam <thomas@xteddy.org> | 2016-04-29 18:01:09 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2016-04-29 18:01:09 +0100 |
commit | 55d472a9fe9b3d4196b8307a65480f6d66b95e9c (patch) | |
tree | e76c0961ba35fa67566947ea0247dc0aed3e1ce4 /options-table.c | |
parent | ba9f32b464effc09b7ceaef21b1804c49ece17db (diff) | |
parent | eb8e76d4332e089e5cd3c5a3c9f4bf64c9474909 (diff) | |
download | rtmux-55d472a9fe9b3d4196b8307a65480f6d66b95e9c.tar.gz rtmux-55d472a9fe9b3d4196b8307a65480f6d66b95e9c.tar.bz2 rtmux-55d472a9fe9b3d4196b8307a65480f6d66b95e9c.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'options-table.c')
-rw-r--r-- | options-table.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c index e9ce27fd..ec68931d 100644 --- a/options-table.c +++ b/options-table.c @@ -50,6 +50,9 @@ const char *options_table_status_position_list[] = { const char *options_table_bell_action_list[] = { "none", "any", "current", "other", NULL }; +const char *options_table_pane_status_list[] = { + "off", "top", "bottom", NULL +}; /* Server options. */ const struct options_table_entry options_table[] = { @@ -692,6 +695,19 @@ const struct options_table_entry options_table[] = { .style = "pane-border-style" }, + { .name = "pane-border-format", + .type = OPTIONS_TABLE_STRING, + .scope = OPTIONS_TABLE_WINDOW, + .default_str = "#{?pane_active,#[reverse],}#{pane_index}#[default] \"#{pane_title}\"" + }, + + { .name = "pane-border-status", + .type = OPTIONS_TABLE_CHOICE, + .scope = OPTIONS_TABLE_WINDOW, + .choices = options_table_pane_status_list, + .default_num = 0 + }, + { .name = "pane-border-style", .type = OPTIONS_TABLE_STYLE, .scope = OPTIONS_TABLE_WINDOW, |