aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pw.c b/pw.c
index 81494de..25f6354 100644
--- a/pw.c
+++ b/pw.c
@@ -328,7 +328,7 @@ static void drawstatus(int columns, unsigned stat, char *cmd)
static unsigned redraw(char **circbuf, int nlines, int hpos,
int columns, unsigned stat, char *cmd)
{
- if ((stat & stat_susp) == 0 &&
+ if ((stat & (stat_dirty | stat_susp)) == stat_dirty &&
(stat & (stat_htmode | stat_trgrd)) != stat_htmode &&
(stat & (stat_ttmode | stat_trgrd)) != stat_ttmode)
{