diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2011-04-06 22:16:33 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2011-04-06 22:16:33 +0000 |
commit | 536fc24653d51daf8f0015e68dd4191a9a989205 (patch) | |
tree | bf2c81cf3f126bd8f26e395d0a8305460d2844ea /server.c | |
parent | 95832241aa6b1af0bc3bc09fad33462f807e59a3 (diff) | |
download | rtmux-536fc24653d51daf8f0015e68dd4191a9a989205.tar.gz rtmux-536fc24653d51daf8f0015e68dd4191a9a989205.tar.bz2 rtmux-536fc24653d51daf8f0015e68dd4191a9a989205.zip |
PatchSet 870
Date: 2011/03/27 21:27:26
Author: nicm
Branch: HEAD
Tag: (none)
Log:
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 | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: server.c,v 1.253 2011-02-15 15:12:28 tcunha Exp $ */ +/* $Id: server.c,v 1.254 2011-04-06 22:16:33 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -142,6 +142,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); |