diff options
author | 2010-02-06 22:55:31 +0000 | |
---|---|---|
committer | 2010-02-06 22:55:31 +0000 | |
commit | 52d748f81070ff7acf1200fe49e4853f221f7edb (patch) | |
tree | babf8f305a6dc6f91fb36bf816be81b14c0d78f0 /usr.bin/tmux/tmux.h | |
parent | no bsd.bin here as well (diff) | |
download | wireguard-openbsd-52d748f81070ff7acf1200fe49e4853f221f7edb.tar.xz wireguard-openbsd-52d748f81070ff7acf1200fe49e4853f221f7edb.zip |
Support attaching a client read-only with a new -r flag to the attach-session
command.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index b7a5ad027ec..8be009b0ed0 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.204 2010/02/06 17:35:01 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.205 2010/02/06 22:55:31 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -1094,6 +1094,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; @@ -1172,6 +1173,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; |