=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/options-table.c,v retrieving revision 1.164 retrieving revision 1.165 diff -u -r1.164 -r1.165 --- src/usr.bin/tmux/options-table.c 2022/08/02 11:09:26 1.164 +++ src/usr.bin/tmux/options-table.c 2022/09/09 11:02:23 1.165 @@ -1,4 +1,4 @@ -/* $OpenBSD: options-table.c,v 1.164 2022/08/02 11:09:26 nicm Exp $ */ +/* $OpenBSD: options-table.c,v 1.165 2022/09/09 11:02:23 nicm Exp $ */ /* * Copyright (c) 2011 Nicholas Marriott @@ -42,6 +42,9 @@ 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 }; @@ -542,13 +545,21 @@ "'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",