summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2018-08-19 20:13:07 +0000
committernicm <nicm@openbsd.org>2018-08-19 20:13:07 +0000
commit2c46c1fbbb58def2042c59a83b549cef28f2bb59 (patch)
tree2f1872d42c34828d12a3c3520ae5c0342c01b78f /usr.bin/tmux/tmux.h
parentDon't leak a strdup()'ed string on error in do_accept(). (diff)
downloadwireguard-openbsd-2c46c1fbbb58def2042c59a83b549cef28f2bb59.tar.xz
wireguard-openbsd-2c46c1fbbb58def2042c59a83b549cef28f2bb59.zip
Add a flag to force redrawing of the status line even if the content
hasn't changed, needed for resizing.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 58b0cb36819..c34eab2ca1c 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.840 2018/08/19 16:45:03 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.841 2018/08/19 20:13:07 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1350,8 +1350,12 @@ struct client {
#define CLIENT_TRIPLECLICK 0x200000
#define CLIENT_SIZECHANGED 0x400000
#define CLIENT_STATUSOFF 0x800000
+#define CLIENT_REDRAWSTATUSALWAYS 0x1000000
#define CLIENT_ALLREDRAWFLAGS \
- (CLIENT_REDRAWWINDOW|CLIENT_REDRAWSTATUS|CLIENT_REDRAWBORDERS)
+ (CLIENT_REDRAWWINDOW| \
+ CLIENT_REDRAWSTATUS| \
+ CLIENT_REDRAWSTATUSALWAYS| \
+ CLIENT_REDRAWBORDERS)
int flags;
struct key_table *keytable;