Make session_attached a count and add session_many_attached flag.

This commit is contained in:
Nicholas Marriott
2014-03-06 11:25:27 +00:00
parent b65c72c45c
commit b7f6356053
4 changed files with 8 additions and 5 deletions

2
tmux.h
View File

@ -1083,6 +1083,8 @@ struct session {
#define SESSION_UNATTACHED 0x1 /* not attached to any clients */
int flags;
u_int attached;
struct termios *tio;
struct environ environ;