From a26f58c7c394f81c523da597f85f69d3fc8bc8ad Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 2 Jun 2008 21:08:36 +0000 Subject: Last bits of basic configuration file. By default in ~/.tmux.conf or specified with -f. Just a list of tmux commands executed when the server is started and before and any session/window is created. --- session.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'session.c') diff --git a/session.c b/session.c index 2ba32499..dc2ddce8 100644 --- a/session.c +++ b/session.c @@ -1,4 +1,4 @@ -/* $Id: session.c,v 1.30 2007-12-06 09:46:23 nicm Exp $ */ +/* $Id: session.c,v 1.31 2008-06-02 21:08:36 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -117,6 +117,8 @@ session_create(const char *name, const char *cmd, u_int sx, u_int sy) } session_select(s, 0); + log_debug("session %s created", s->name); + return (s); } @@ -126,6 +128,8 @@ session_destroy(struct session *s) { u_int i; + log_debug("session %s destroyed", s->name); + if (session_index(s, &i) != 0) fatalx("session not found"); ARRAY_SET(&sessions, i, NULL); -- cgit