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