aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2011-07-08 08:42:03 +0000
committerTiago Cunha <tcunha@gmx.com>2011-07-08 08:42:03 +0000
commitbba822105bb45ab998ebb7e8299ddc2b8989e672 (patch)
tree3901738866dabad26bc71ae16c2fceb4255ee16a /tmux.1
parentdc2c174496532a915120c6fd12b26df742a3ee8e (diff)
downloadrtmux-bba822105bb45ab998ebb7e8299ddc2b8989e672.tar.gz
rtmux-bba822105bb45ab998ebb7e8299ddc2b8989e672.tar.bz2
rtmux-bba822105bb45ab998ebb7e8299ddc2b8989e672.zip
Sync OpenBSD patchset 934:
Make confirm-before prompt customizable with -p option like command-prompt. Also move responsibility for calling status_replace into status_prompt_{set,update} and add #W and #P to the default kill-window and kill-pane prompts. By Tiago Cunha.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.113
1 files changed, 12 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index 57754fdf..6de074e1 100644
--- a/tmux.1
+++ b/tmux.1
@@ -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: July 3 2011 $
+.Dd $Mdocdate: July 8 2011 $
.Dt TMUX 1
.Os
.Sh NAME
@@ -2694,12 +2694,23 @@ to
.Ql %9
.Pc .
.It Xo Ic confirm-before
+.Op Fl p Ar prompt
.Op Fl t Ar target-client
.Ar command
.Xc
.D1 (alias: Ic confirm )
Ask for confirmation before executing
.Ar command .
+If
+.Fl p
+is given,
+.Ar prompt
+is the prompt to display; otherwise a prompt is constructed from
+.Ar command .
+It may contain the special character sequences supported by the
+.Ic status-left
+option.
+.Pp
This command works only from inside
.Nm .
.It Xo Ic display-message