aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2011-05-22 16:25:02 +0000
committerTiago Cunha <tcunha@gmx.com>2011-05-22 16:25:02 +0000
commit719755574d4c4a5af1b255cb709c9ce8ee62f7ac (patch)
tree03810384ca0e94bbe93d9185ae77a1e8578c7be6 /tmux.1
parent89f35125b4eb5c032f57e8acb70274b77e887f0b (diff)
downloadrtmux-719755574d4c4a5af1b255cb709c9ce8ee62f7ac.tar.gz
rtmux-719755574d4c4a5af1b255cb709c9ce8ee62f7ac.tar.bz2
rtmux-719755574d4c4a5af1b255cb709c9ce8ee62f7ac.zip
Sync OpenBSD patchset 915:
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.113
1 files changed, 11 insertions, 2 deletions
diff --git a/tmux.1 b/tmux.1
index e3fa54f2..b4f51cb7 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1,4 +1,4 @@
-.\" $Id: tmux.1,v 1.314 2011-05-22 16:23:07 tcunha Exp $
+.\" $Id: tmux.1,v 1.315 2011-05-22 16:25:02 tcunha Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -14,7 +14,7 @@
.\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
.\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: May 18 2011 $
+.Dd $Mdocdate: May 20 2011 $
.Dt TMUX 1
.Os
.Sh NAME
@@ -2836,6 +2836,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