summaryrefslogtreecommitdiffstats
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2011-03-27 20:27:26 +0000
committerNicholas Marriott <nicm@openbsd.org>2011-03-27 20:27:26 +0000
commit808502ac3d86193d9a371728b2ea2055100c76c3 (patch)
tree18ba306e7e15c1a0a04108bc139a0938cd4ce96e /tmux.1
parentd74e5bffbad33df742749b5983479dc2cfac273b (diff)
Give each pane created in a tmux server a unique id (starting from 0),
put it in the TMUX_PANE environment variable and accept it as a target. Suggested by and with testing and tweaks from Ben Boeckel.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.111
1 files changed, 11 insertions, 0 deletions
diff --git a/tmux.1 b/tmux.1
index 7d42984a..d69321dd 100644
--- a/tmux.1
+++ b/tmux.1
@@ -449,6 +449,17 @@ select-window -t:+2
When dealing with a session that doesn't contain sequential window indexes,
they will be correctly skipped.
.Pp
+.Nm
+also gives each pane created in a server an identifier consisting of a
+.Ql %
+and a number, starting from zero.
+A pane's identifier is unique for the life of the
+.Nm
+server and is passed to the child process of the pane in the
+.Ev TMUX_PANE
+environment variable.
+It may be used alone to target a pane or the window containing it.
+.Pp
.Ar shell-command
arguments are
.Xr sh 1