aboutsummaryrefslogtreecommitdiff
path: root/options-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/options-table.c b/options-table.c
index b9b03153..9fbe85e6 100644
--- a/options-table.c
+++ b/options-table.c
@@ -53,6 +53,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[] = {
@@ -117,8 +120,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
},