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.
This commit is contained in:
nicm
2020-06-18 08:34:22 +00:00
parent 1bf9555e4f
commit 2372b0fdc6
6 changed files with 44 additions and 6 deletions

View File

@ -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;