Warn and bork on nested sessions ($TMUX exists).

This commit is contained in:
Nicholas Marriott
2007-10-12 14:46:48 +00:00
parent 514d6fa1ec
commit 37f17a7e5b
7 changed files with 18 additions and 10 deletions

3
tmux.h
View File

@ -1,4 +1,4 @@
/* $Id: tmux.h,v 1.57 2007-10-12 13:51:44 nicm Exp $ */
/* $Id: tmux.h,v 1.58 2007-10-12 14:46:48 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -470,6 +470,7 @@ struct cmd_entry {
#define CMD_STARTSERVER 0x1
#define CMD_NOSESSION 0x2
#define CMD_CANTNEST 0x4
int flags;
int (*parse)(void **, int, char **, char **);