diff options
author | Thomas Adam <thomas@xteddy.org> | 2022-09-22 17:10:38 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2022-09-22 17:10:38 +0100 |
commit | f49f92737f859bfeac901f0eb9b1db8249368843 (patch) | |
tree | bcea2626d03258d562cb68303913f4d45b779bfc /options-table.c | |
parent | 19344ec890e0c4343e3c20695806d482c631d67c (diff) | |
parent | a2cc601c3d1a569037ccd238b2638b5c416baca8 (diff) |
Merge branch 'obsd-master'
Diffstat (limited to 'options-table.c')
-rw-r--r-- | options-table.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/options-table.c b/options-table.c index f7e91da1..d4e7b204 100644 --- a/options-table.c +++ b/options-table.c @@ -41,6 +41,9 @@ static const char *options_table_clock_mode_style_list[] = { static const char *options_table_status_list[] = { "off", "on", "2", "3", "4", "5", NULL }; +static const char *options_table_message_line_list[] = { + "0", "1", "2", "3", "4", NULL +}; static const char *options_table_status_keys_list[] = { "emacs", "vi", NULL }; @@ -541,13 +544,21 @@ const struct options_table_entry options_table[] = { "'mode-keys' is set to 'vi'." }, + { .name = "message-line", + .type = OPTIONS_TABLE_CHOICE, + .scope = OPTIONS_TABLE_SESSION, + .choices = options_table_message_line_list, + .default_num = 0, + .text = "Position (line) of messages and the command prompt." + }, + { .name = "message-style", .type = OPTIONS_TABLE_STRING, .scope = OPTIONS_TABLE_SESSION, .default_str = "bg=yellow,fg=black", .flags = OPTIONS_TABLE_IS_STYLE, .separator = ",", - .text = "Style of the command prompt." + .text = "Style of messages and the command prompt." }, { .name = "mouse", |