aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2011-05-22 16:26:38 +0000
committerTiago Cunha <tcunha@gmx.com>2011-05-22 16:26:38 +0000
commitd256660a783bad37d09c179d5ed39bd0967452c2 (patch)
treea0a609c7ea4215393133d901c0251aeface65838 /tmux.1
parentb2f301f4e2b05764cd80da2ebc08e10605d0eeca (diff)
downloadrtmux-d256660a783bad37d09c179d5ed39bd0967452c2.tar.gz
rtmux-d256660a783bad37d09c179d5ed39bd0967452c2.tar.bz2
rtmux-d256660a783bad37d09c179d5ed39bd0967452c2.zip
Sync OpenBSD patchset 917:
Pass prompts through status_replace so that they can be more helpful (such as showing the previous session name when renaming). From Tiago Cunha.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.111
1 files changed, 9 insertions, 2 deletions
diff --git a/tmux.1 b/tmux.1
index 89829e96..4fad61a4 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1,4 +1,4 @@
-.\" $Id: tmux.1,v 1.316 2011-05-22 16:26:09 tcunha Exp $
+.\" $Id: tmux.1,v 1.317 2011-05-22 16:26:38 tcunha Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -1259,7 +1259,7 @@ The
.Ar shell-command
string may contain the special character sequences supported by the
.Ic status-left
-command.
+option.
If no
.Ar shell-command
is given, the current pipe (if any) is closed.
@@ -2628,6 +2628,7 @@ Open the command prompt in a client.
This may be used from inside
.Nm
to execute commands interactively.
+.Pp
If
.Ar template
is specified, it is used as the command.
@@ -2641,6 +2642,12 @@ a single prompt is displayed, constructed from
if it is present, or
.Ql \&:
if not.
+The
+.Ar prompts
+may contain the special character sequences supported by the
+.Ic status-left
+option.
+.Pp
Before the command is executed, the first occurrence of the string
.Ql %%
and all occurrences of