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.
This commit is contained in:
Nicholas Marriott
2011-05-20 19:03:58 +00:00
parent 96e7f33da3
commit 944b5e6fa0
8 changed files with 101 additions and 15 deletions

9
tmux.1
View File

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