From e4a7cefe0c1e9c61ea6c1510f67ce163cf25616e Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Sun, 29 Jan 2012 12:57:01 +0000 Subject: Sync OpenBSD patchset 1015: Add an option to move the status line to the top of the screen, requested by many. --- options-table.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'options-table.c') diff --git a/options-table.c b/options-table.c index 36544707..d5b8d216 100644 --- a/options-table.c +++ b/options-table.c @@ -47,6 +47,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 }; @@ -358,6 +361,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" -- cgit