Add a base-index session option to specify the first index checked when looking

for an index for a new window.
This commit is contained in:
Nicholas Marriott
2009-08-13 20:11:58 +00:00
parent 3026118c70
commit 3ad4de6c8c
11 changed files with 40 additions and 20 deletions

View File

@ -50,6 +50,7 @@ const char *set_option_bell_action_list[] = {
"none", "any", "current", NULL
};
const struct set_option_entry set_option_table[] = {
{ "base-index", SET_OPTION_NUMBER, 0, INT_MAX, NULL },
{ "bell-action", SET_OPTION_CHOICE, 0, 0, set_option_bell_action_list },
{ "buffer-limit", SET_OPTION_NUMBER, 1, INT_MAX, NULL },
{ "default-command", SET_OPTION_STRING, 0, 0, NULL },