Make session_attached a count and add session_many_attached flag.

This commit is contained in:
nicm
2014-03-31 21:37:55 +00:00
parent 9368914ee7
commit b11de5adc7
4 changed files with 8 additions and 5 deletions

2
tmux.h
View File

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