diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-06-18 08:34:23 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-06-18 08:34:23 +0000 |
commit | c50abd069038115a9946520c2d8d0a103fcbbe48 (patch) | |
tree | 800c9dea4847a4ec80db9734c944277cc5150f6a /usr.bin/tmux/server.c | |
parent | 1edc1e683741f2cac0146a729e56c9ecfdd6018b (diff) |
Add a flag to make a client wait for an empty line before exiting in
control mode to avoid stray commands ending up in the shell.
Diffstat (limited to 'usr.bin/tmux/server.c')
-rw-r--r-- | usr.bin/tmux/server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/server.c b/usr.bin/tmux/server.c index 3b8f4529c97..f8d0a17bf29 100644 --- a/usr.bin/tmux/server.c +++ b/usr.bin/tmux/server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server.c,v 1.193 2020/06/01 09:43:01 nicm Exp $ */ +/* $OpenBSD: server.c,v 1.194 2020/06/18 08:34:22 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -45,7 +45,7 @@ struct clients clients; struct tmuxproc *server_proc; static int server_fd = -1; -static int server_client_flags; +static uint64_t server_client_flags; static int server_exit; static struct event server_ev_accept; |