diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2012-01-29 09:37:03 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2012-01-29 09:37:03 +0000 |
commit | 4a96d6dfb62a58267d3ce34851e37e97aa3338ca (patch) | |
tree | 9ee015684b211fcc816b39f3decbd272bf45aa49 /usr.bin/tmux/options-table.c | |
parent | 0ea62aa939f3e8a6aebe45cd30d760e5f7a6616f (diff) |
Add an option to move the status line to the top of the screen,
requested by many.
Diffstat (limited to 'usr.bin/tmux/options-table.c')
-rw-r--r-- | usr.bin/tmux/options-table.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.bin/tmux/options-table.c b/usr.bin/tmux/options-table.c index 7513979280f..e152a130eba 100644 --- a/usr.bin/tmux/options-table.c +++ b/usr.bin/tmux/options-table.c @@ -1,4 +1,4 @@ -/* $OpenBSD: options-table.c,v 1.19 2012/01/21 08:40:09 nicm Exp $ */ +/* $OpenBSD: options-table.c,v 1.20 2012/01/29 09:37:02 nicm Exp $ */ /* * Copyright (c) 2011 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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" |