If a session is destroyed, safely kill all other clients attached to it.

This commit is contained in:
Nicholas Marriott
2007-08-27 12:05:15 +00:00
parent 7000277f94
commit 6e210bb005
3 changed files with 41 additions and 17 deletions

5
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.3 2007-08-27 11:05:21 nicm Exp $ */
/* $Id: tmux.h,v 1.4 2007-08-27 12:05:15 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -531,7 +531,8 @@ void session_destroy(struct session *);
int session_index(struct session *, u_int *);
int session_new(struct session *, const char *, u_int, u_int);
void session_attach(struct session *, struct window *);
int session_detach(struct session *, struct window *);
void session_detach(struct session *, struct window *);
int session_flush(struct session *);
int session_has(struct session *, struct window *);
int session_next(struct session *);
int session_previous(struct session *);