aboutsummaryrefslogtreecommitdiff
path: root/options-table.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2011-05-22 16:23:07 +0000
committerTiago Cunha <tcunha@gmx.com>2011-05-22 16:23:07 +0000
commit89f35125b4eb5c032f57e8acb70274b77e887f0b (patch)
treec80b93414d1533f98d7345177effa05ec7cfdee9 /options-table.c
parente7f3be9187a30c3a140f608a454b077906fe6f81 (diff)
downloadrtmux-89f35125b4eb5c032f57e8acb70274b77e887f0b.tar.gz
rtmux-89f35125b4eb5c032f57e8acb70274b77e887f0b.tar.bz2
rtmux-89f35125b4eb5c032f57e8acb70274b77e887f0b.zip
Sync OpenBSD patchset 914:
Support setting the xterm clipboard when copying from copy mode using the xterm escape sequence for the purpose (if xterm is configured to allow it). Written by and much discussed Ailin Nemui, guidance on xterm/termcap/terminfo from Thomas Dickey.
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/options-table.c b/options-table.c
index 42d50335..c068cc48 100644
--- a/options-table.c
+++ b/options-table.c
@@ -1,4 +1,4 @@
-/* $Id: options-table.c,v 1.9 2011-05-18 20:30:14 tcunha Exp $ */
+/* $Id: options-table.c,v 1.10 2011-05-22 16:23:07 tcunha Exp $ */
/*
* Copyright (c) 2011 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -74,6 +74,11 @@ const struct options_table_entry server_options_table[] = {
.default_num = 0 /* overridden in main() */
},
+ { .name = "set-clipboard",
+ .type = OPTIONS_TABLE_FLAG,
+ .default_num = 1
+ },
+
{ .name = NULL }
};
@@ -359,7 +364,8 @@ const struct options_table_entry session_options_table[] = {
{ .name = "terminal-overrides",
.type = OPTIONS_TABLE_STRING,
- .default_str = "*88col*:colors=88,*256col*:colors=256,xterm*:XT"
+ .default_str = "*88col*:colors=88,*256col*:colors=256"
+ ",xterm*:XT:Ms=\\E]52;%p1%s;%p2%s\\007"
},
{ .name = "update-environment",