diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2011-03-27 20:27:26 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2011-03-27 20:27:26 +0000 |
commit | 808502ac3d86193d9a371728b2ea2055100c76c3 (patch) | |
tree | 18ba306e7e15c1a0a04108bc139a0938cd4ce96e /server.c | |
parent | d74e5bffbad33df742749b5983479dc2cfac273b (diff) | |
download | rtmux-808502ac3d86193d9a371728b2ea2055100c76c3.tar.gz rtmux-808502ac3d86193d9a371728b2ea2055100c76c3.tar.bz2 rtmux-808502ac3d86193d9a371728b2ea2055100c76c3.zip |
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 'server.c')
-rw-r--r-- | server.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -143,6 +143,7 @@ server_start(void) log_debug("server started, pid %ld", (long) getpid()); ARRAY_INIT(&windows); + RB_INIT(&all_window_panes); ARRAY_INIT(&clients); ARRAY_INIT(&dead_clients); RB_INIT(&sessions); |