Add an option to move the status line to the top of the screen,

requested by many.
This commit is contained in:
Nicholas Marriott
2012-01-29 09:37:02 +00:00
parent 9bbc63ed65
commit 230d0fbc9e
8 changed files with 180 additions and 92 deletions

View File

@ -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"