From 65177b82be7eca053ce12eb05e7d0049124ff659 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 5 Jun 2011 11:19:03 +0000 Subject: Add a respawn-pane command, from Marcel Partap. --- tmux.1 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index f58b8863..7574a521 100644 --- a/tmux.1 +++ b/tmux.1 @@ -1307,6 +1307,21 @@ and to the right with The .Ar adjustment is given in lines or cells (the default is 1). +.It Xo Ic respawn-pane +.Op Fl k +.Op Fl t Ar target-pane +.Op Ar shell-command +.Xc +.D1 (alias: Ic respawnp ) +Reactivate a pane in which the command has exited (see the +.Ic remain-on-exit +window option). +If +.Ar shell-command +is not given, the command used when the pane was created is executed. +The pane must be already inactive, unless +.Fl k +is given, in which case any existing command is killed. .It Xo Ic respawn-window .Op Fl k .Op Fl t Ar target-window -- cgit