aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2011-06-23 19:23:12 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2011-06-23 19:23:12 +0000
commitf513898e92851e657a94393200a32eaf044a59b4 (patch)
treea9855539d112c89b71c3008c5720e2159b606254 /tmux.1
parent7407459ed13b6619e3065618e7e44f7ebf8a00db (diff)
downloadrtmux-f513898e92851e657a94393200a32eaf044a59b4.tar.gz
rtmux-f513898e92851e657a94393200a32eaf044a59b4.tar.bz2
rtmux-f513898e92851e657a94393200a32eaf044a59b4.zip
PatchSet 924
Date: 2011/06/05 12:19:03 Author: nicm Branch: HEAD Tag: (none) Log: Add a respawn-pane command, from Marcel Partap.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.117
1 files changed, 16 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index d1b11c7f..6e1a5627 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: May 30 2011 $
+.Dd $Mdocdate: June 5 2011 $
.Dt TMUX 1
.Os
.Sh NAME
@@ -1311,6 +1311,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