aboutsummaryrefslogtreecommitdiff
path: root/options-table.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-01-29 12:57:01 +0000
committerTiago Cunha <tcunha@gmx.com>2012-01-29 12:57:01 +0000
commite4a7cefe0c1e9c61ea6c1510f67ce163cf25616e (patch)
tree1d51a3bcadbd4b16cb51f282cd5a003270d345df /options-table.c
parente23df3af5a57d28ba40b14db1ad6d62f0ee99940 (diff)
downloadrtmux-e4a7cefe0c1e9c61ea6c1510f67ce163cf25616e.tar.gz
rtmux-e4a7cefe0c1e9c61ea6c1510f67ce163cf25616e.tar.bz2
rtmux-e4a7cefe0c1e9c61ea6c1510f67ce163cf25616e.zip
Sync OpenBSD patchset 1015:
Add an option to move the status line to the top of the screen, requested by many.
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c9
1 files changed, 9 insertions, 0 deletions
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"