From d256660a783bad37d09c179d5ed39bd0967452c2 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Sun, 22 May 2011 16:26:38 +0000 Subject: 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. --- tmux.1 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'tmux.1') 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 .\" @@ -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 -- cgit