mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 14:27:09 +00:00
Sync OpenBSD patchset 639:
Support attaching a client read-only with a new -r flag to the attach-session command.
This commit is contained in:
4
tmux.h
4
tmux.h
@ -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;
|
||||
|
Reference in New Issue
Block a user