diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2011-05-20 19:03:58 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2011-05-20 19:03:58 +0000 |
commit | 944b5e6fa04e014501f465e3898315c84d10bd9e (patch) | |
tree | 84bf7b9489fc4105d7c5a4c59df7058c867a19fe /options-table.c | |
parent | 96e7f33da3078facc504c6c66d42956bc44b2e54 (diff) | |
download | rtmux-944b5e6fa04e014501f465e3898315c84d10bd9e.tar.gz rtmux-944b5e6fa04e014501f465e3898315c84d10bd9e.tar.bz2 rtmux-944b5e6fa04e014501f465e3898315c84d10bd9e.zip |
Support xterm(1) cursor colour change sequences through terminfo(5) Cc
(set) and Cr (reset) extensions. Originally by Sean Estabrooks, tweaked
by me and Ailin Nemui.
Diffstat (limited to 'options-table.c')
-rw-r--r-- | options-table.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/options-table.c b/options-table.c index 8a611460..c84c56a1 100644 --- a/options-table.c +++ b/options-table.c @@ -366,13 +366,14 @@ 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:Ms=\\E]52;%p1%s;%p2%s\\007" + ",xterm*:XT:Ms=\\E]52;%p1%s;%p2%s\\007" + ":Cc=\\E]12;%p1%s\\007:Cr=\\E]112\\007" }, { .name = "update-environment", .type = OPTIONS_TABLE_STRING, .default_str = "DISPLAY SSH_ASKPASS SSH_AUTH_SOCK SSH_AGENT_PID " - "SSH_CONNECTION WINDOWID XAUTHORITY" + "SSH_CONNECTION WINDOWID XAUTHORITY" }, |