aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2011-06-05 11:19:03 +0000
committerNicholas Marriott <nicm@openbsd.org>2011-06-05 11:19:03 +0000
commit65177b82be7eca053ce12eb05e7d0049124ff659 (patch)
tree892d49e45cc25360d3c75a82abd6f220a1d20f2f /tmux.1
parent2b60c648c4e0202ca2743fe958e0eabfc0479f55 (diff)
downloadrtmux-65177b82be7eca053ce12eb05e7d0049124ff659.tar.gz
rtmux-65177b82be7eca053ce12eb05e7d0049124ff659.tar.bz2
rtmux-65177b82be7eca053ce12eb05e7d0049124ff659.zip
Add a respawn-pane command, from Marcel Partap.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.115
1 files changed, 15 insertions, 0 deletions
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