=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/options-table.c,v retrieving revision 1.136 retrieving revision 1.137 diff -c -r1.136 -r1.137 *** src/usr.bin/tmux/options-table.c 2020/12/15 08:31:50 1.136 --- src/usr.bin/tmux/options-table.c 2021/01/04 08:43:16 1.137 *************** *** 1,4 **** ! /* $OpenBSD: options-table.c,v 1.136 2020/12/15 08:31:50 nicm Exp $ */ /* * Copyright (c) 2011 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: options-table.c,v 1.137 2021/01/04 08:43:16 nicm Exp $ */ /* * Copyright (c) 2011 Nicholas Marriott *************** *** 69,74 **** --- 69,77 ---- static const char *options_table_window_size_list[] = { "largest", "smallest", "manual", "latest", NULL }; + static const char *options_table_remain_on_exit_list[] = { + "off", "on", "failed", NULL + }; /* Status line format. */ #define OPTIONS_TABLE_STATUS_FORMAT1 \ *************** *** 949,959 **** }, { .name = "remain-on-exit", ! .type = OPTIONS_TABLE_FLAG, .scope = OPTIONS_TABLE_WINDOW|OPTIONS_TABLE_PANE, .default_num = 0, .text = "Whether panes should remain ('on') or be automatically " ! "killed ('off') when the program inside exits." }, { .name = "synchronize-panes", --- 952,963 ---- }, { .name = "remain-on-exit", ! .type = OPTIONS_TABLE_CHOICE, .scope = OPTIONS_TABLE_WINDOW|OPTIONS_TABLE_PANE, + .choices = options_table_remain_on_exit_list, .default_num = 0, .text = "Whether panes should remain ('on') or be automatically " ! "killed ('off' or 'failed') when the program inside exits." }, { .name = "synchronize-panes",