aboutsummaryrefslogtreecommitdiff
path: root/options-table.c
diff options
context:
space:
mode:
authornicm <nicm>2020-04-17 08:03:22 +0000
committernicm <nicm>2020-04-17 08:03:22 +0000
commit5aba26f2cb7aa9609a3c3d2bd38a3942b6a378b8 (patch)
treeb1b20745557db529d9b21dc2c59b1e26ecd7e553 /options-table.c
parent5f18844b3251451c1c9d4a983c1246a03358b886 (diff)
downloadrtmux-5aba26f2cb7aa9609a3c3d2bd38a3942b6a378b8.tar.gz
rtmux-5aba26f2cb7aa9609a3c3d2bd38a3942b6a378b8.tar.bz2
rtmux-5aba26f2cb7aa9609a3c3d2bd38a3942b6a378b8.zip
Add a copy-command option and change copy-pipe and friends to pipe to it
if used without arguments, allows all copy key bindings to be changed to pipe with one option.
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c
index 33ee4402..1401f05d 100644
--- a/options-table.c
+++ b/options-table.c
@@ -198,6 +198,12 @@ const struct options_table_entry options_table[] = {
.separator = ","
},
+ { .name = "copy-command",
+ .type = OPTIONS_TABLE_STRING,
+ .scope = OPTIONS_TABLE_SERVER,
+ .default_str = ""
+ },
+
{ .name = "default-terminal",
.type = OPTIONS_TABLE_STRING,
.scope = OPTIONS_TABLE_SERVER,