aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2011-05-20 19:03:58 +0000
committerNicholas Marriott <nicm@openbsd.org>2011-05-20 19:03:58 +0000
commit944b5e6fa04e014501f465e3898315c84d10bd9e (patch)
tree84bf7b9489fc4105d7c5a4c59df7058c867a19fe /tmux.1
parent96e7f33da3078facc504c6c66d42956bc44b2e54 (diff)
downloadrtmux-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 'tmux.1')
-rw-r--r--tmux.19
1 files changed, 9 insertions, 0 deletions
diff --git a/tmux.1 b/tmux.1
index c6a286a8..dbe54d52 100644
--- a/tmux.1
+++ b/tmux.1
@@ -2832,6 +2832,15 @@ See the
option above and the
.Xr xterm 1
man page.
+.It Em Cc, Cr
+The first takes one string argument and is used to set the cursor colour;
+the second takes no arguments and restores the default cursor colour.
+If they present, a sequence such as this may be used to change the
+cursor colour from inside
+.Nm :
+.Bd -literal -offset indent
+$ printf '\e033]12;red\e033\e\e'
+.Ed
.El
.Sh FILES
.Bl -tag -width "/etc/tmux.confXXX" -compact