From 808502ac3d86193d9a371728b2ea2055100c76c3 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 27 Mar 2011 20:27:26 +0000 Subject: 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. --- server.c | 1 + 1 file changed, 1 insertion(+) (limited to 'server.c') diff --git a/server.c b/server.c index 72f3880d..a548a694 100644 --- a/server.c +++ b/server.c @@ -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); -- cgit