aboutsummaryrefslogtreecommitdiff
path: root/options-table.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-06-03 20:01:10 +0100
committerThomas Adam <thomas@xteddy.org>2017-06-03 20:01:10 +0100
commit757eb060cdfe685bed9f4b4dbf269a7077d58e6e (patch)
tree4a3732b2370c75cab54df554cd20b8f1180f77e3 /options-table.c
parent80235d6fdd466b0aacaa5fa6c411bd6c38160aef (diff)
parent34420660545611af1b24060f55551ebe90d67a0c (diff)
downloadrtmux-757eb060cdfe685bed9f4b4dbf269a7077d58e6e.tar.gz
rtmux-757eb060cdfe685bed9f4b4dbf269a7077d58e6e.tar.bz2
rtmux-757eb060cdfe685bed9f4b4dbf269a7077d58e6e.zip
Merge branch 'obsd-master'
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
},