aboutsummaryrefslogtreecommitdiffstats
path: root/pw.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-05-06 20:37:18 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-05-06 20:37:18 -0700
commit4ecdc68f776c96e14405f269aad1dce5a15bef8a (patch)
treea6b5d5054dfcff5f4c7dedee9bf911eda8133991 /pw.c
parentb1484760fe0c82f8c787af7f1ebca49bcb522190 (diff)
downloadpw-4ecdc68f776c96e14405f269aad1dce5a15bef8a.tar.gz
pw-4ecdc68f776c96e14405f269aad1dce5a15bef8a.tar.bz2
pw-4ecdc68f776c96e14405f269aad1dce5a15bef8a.zip
Fix lagging redraw upon resume from background.
This was a regression in this morning's refactoring.
Diffstat (limited to 'pw.c')
-rw-r--r--pw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pw.c b/pw.c
index 6c53dd1..49d7a24 100644
--- a/pw.c
+++ b/pw.c
@@ -1178,7 +1178,7 @@ int main(int argc, char **argv)
ttyset(ttyfd, &tty_new);
for (int i = 0; i < pw.nlines; i++)
puts("");
- pw.stat |= force;
+ pw.stat |= stat_force;
redraw(&pw);
} else {
if ((pw.stat & stat_eof)) {