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.
This commit is contained in:
nicm
2020-04-17 08:03:22 +00:00
parent 5f18844b32
commit 5aba26f2cb
4 changed files with 38 additions and 24 deletions

View File

@ -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,