mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 06:17:04 +00:00
Sync OpenBSD patchset 1015:
Add an option to move the status line to the top of the screen, requested by many.
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user