summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-07-03 12:38:50 +0000
committernicm <nicm@openbsd.org>2017-07-03 12:38:50 +0000
commit9017429c5fca582268b459cc1fd5a0966278e72e (patch)
tree5e9fdc46bceaa9ce8dc8216cec39223d8a830542 /usr.bin/tmux/tmux.h
parentRemove mdoclint(1) from the tree. (diff)
downloadwireguard-openbsd-9017429c5fca582268b459cc1fd5a0966278e72e.tar.xz
wireguard-openbsd-9017429c5fca582268b459cc1fd5a0966278e72e.zip
Change previous to not wait for both process exit and pty close -
instead if there is a pipe-pane active, do not exit until all data is read (including any libevent hasn't seen yet). Fixes problem reported by Theo Buehler and still seems to solve the original issue.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 345da8a6326..53366098eef 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.790 2017/07/03 08:16:03 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.791 2017/07/03 12:38:50 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -768,8 +768,7 @@ struct window_pane {
#define PANE_FOCUSPUSH 0x20
#define PANE_INPUTOFF 0x40
#define PANE_CHANGED 0x80
-#define PANE_ERROR 0x100
-#define PANE_EXITED 0x200
+#define PANE_EXITED 0x100
int argc;
char **argv;