diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2012-01-29 09:37:02 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2012-01-29 09:37:02 +0000 |
commit | 230d0fbc9e273a171e811f58b540163fe871df5e (patch) | |
tree | 4ad5639d35a19bb1592a2050a4161ff2411323e2 /options-table.c | |
parent | 9bbc63ed653e6ca73e4eaebd6f52466d53a4da73 (diff) | |
download | rtmux-230d0fbc9e273a171e811f58b540163fe871df5e.tar.gz rtmux-230d0fbc9e273a171e811f58b540163fe871df5e.tar.bz2 rtmux-230d0fbc9e273a171e811f58b540163fe871df5e.zip |
Add an option to move the status line to the top of the screen,
requested by many.
Diffstat (limited to 'options-table.c')
-rw-r--r-- | options-table.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c index 918a9f51..e0a99f43 100644 --- a/options-table.c +++ b/options-table.c @@ -48,6 +48,9 @@ const char *options_table_status_keys_list[] = { const char *options_table_status_justify_list[] = { "left", "centre", "right", NULL }; +const char *options_table_status_position_list[] = { + "top", "bottom", NULL +}; const char *options_table_bell_action_list[] = { "none", "any", "current", NULL }; @@ -359,6 +362,12 @@ const struct options_table_entry session_options_table[] = { .default_num = 10 }, + { .name = "status-position", + .type = OPTIONS_TABLE_CHOICE, + .choices = options_table_status_position_list, + .default_num = 1 + }, + { .name = "status-right", .type = OPTIONS_TABLE_STRING, .default_str = "\"#22T\" %H:%M %d-%b-%y" |