From c6a3446398648fc2cc3682c351b57b9bfe5bc5f0 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 9 Feb 2017 15:04:53 +0000 Subject: Instead of numbering session groups, give them a name which may be given to -t instead of a target session. Also allow them to contain only one session. --- server.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'server.c') diff --git a/server.c b/server.c index 176cafcb..0ce90db6 100644 --- a/server.c +++ b/server.c @@ -156,8 +156,7 @@ server_start(struct event_base *base, int lockfd, char *lockfile) RB_INIT(&all_window_panes); TAILQ_INIT(&clients); RB_INIT(&sessions); - TAILQ_INIT(&session_groups); - mode_key_init_trees(); + RB_INIT(&session_groups); key_bindings_init(); gettimeofday(&start_time, NULL); -- cgit