diff options
author | Tiago Cunha <tcunha@gmx.com> | 2010-02-08 18:27:34 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2010-02-08 18:27:34 +0000 |
commit | c6ba78137977bd7a447fd5f97b205544c2b41505 (patch) | |
tree | ec4d93053a821886b0a651d9d88d277d1e92966b /tmux.h | |
parent | 9b57743cca71a7b2313a8d4f41558e8ec0404d9b (diff) | |
download | rtmux-c6ba78137977bd7a447fd5f97b205544c2b41505.tar.gz rtmux-c6ba78137977bd7a447fd5f97b205544c2b41505.tar.bz2 rtmux-c6ba78137977bd7a447fd5f97b205544c2b41505.zip |
Sync OpenBSD patchset 639:
Support attaching a client read-only with a new -r flag to the attach-session
command.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.542 2010-02-08 18:13:17 tcunha Exp $ */ +/* $Id: tmux.h,v 1.543 2010-02-08 18:27:34 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -1093,6 +1093,7 @@ struct client { #define CLIENT_IDENTIFY 0x100 #define CLIENT_DEAD 0x200 #define CLIENT_BORDERS 0x400 +#define CLIENT_READONLY 0x800 int flags; struct event identify_timer; @@ -1171,6 +1172,7 @@ struct cmd_entry { #define CMD_ARG01 0x10 #define CMD_ARG2 0x20 #define CMD_ARG12 0x40 +#define CMD_READONLY 0x80 int flags; const char *chflags; |