Support DECSCUSR sequence to set the cursor style with two new

terminfo(5) extensions, Cs and Csr. Written by Ailin Nemui.
This commit is contained in:
Nicholas Marriott
2011-05-20 19:17:39 +00:00
parent 944b5e6fa0
commit 3ea5e06bfb
7 changed files with 53 additions and 0 deletions

13
tmux.1
View File

@ -2832,6 +2832,19 @@ See the
option above and the
.Xr xterm 1
man page.
.It Em Cs, Csr
Change the cursor style.
If set allows a sequence such as:
.Bd -literal -offset indent
$ printf '\e033[4 q'
.Ed
.Pp
To change the cursor to an underline.
If
.Em Csr
is set, it will be used to reset the cursor style instead
of
.Em Cs .
.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.