From 2c46c1fbbb58def2042c59a83b549cef28f2bb59 Mon Sep 17 00:00:00 2001 From: nicm Date: Sun, 19 Aug 2018 20:13:07 +0000 Subject: Add a flag to force redrawing of the status line even if the content hasn't changed, needed for resizing. --- usr.bin/tmux/tmux.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'usr.bin/tmux/tmux.h') 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 @@ -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; -- cgit v1.2.3-59-g8ed1b