diff options
author | nicm <nicm> | 2017-06-03 17:43:01 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-06-03 17:43:01 +0000 |
commit | 34420660545611af1b24060f55551ebe90d67a0c (patch) | |
tree | dc8ed2211b384a13e81fce8118edf43efbc4d6f1 /options-table.c | |
parent | 493a1846d070f647655bed663c1cb444ee132093 (diff) | |
download | rtmux-34420660545611af1b24060f55551ebe90d67a0c.tar.gz rtmux-34420660545611af1b24060f55551ebe90d67a0c.tar.bz2 rtmux-34420660545611af1b24060f55551ebe90d67a0c.zip |
Make set-clipboard a three-state option so tmux itself can ignore the
sequencess.
Diffstat (limited to 'options-table.c')
-rw-r--r-- | options-table.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/options-table.c b/options-table.c index a3767cc5..6c0abbb5 100644 --- a/options-table.c +++ b/options-table.c @@ -54,6 +54,9 @@ static const char *options_table_bell_action_list[] = { static const char *options_table_pane_status_list[] = { "off", "top", "bottom", NULL }; +static const char *options_table_set_clipboard_list[] = { + "off", "external", "on", NULL +}; /* Top-level options. */ const struct options_table_entry options_table[] = { @@ -118,8 +121,9 @@ const struct options_table_entry options_table[] = { }, { .name = "set-clipboard", - .type = OPTIONS_TABLE_FLAG, + .type = OPTIONS_TABLE_CHOICE, .scope = OPTIONS_TABLE_SERVER, + .choices = options_table_set_clipboard_list, .default_num = 1 }, |