From 4ecdc68f776c96e14405f269aad1dce5a15bef8a Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 6 May 2022 20:37:18 -0700 Subject: Fix lagging redraw upon resume from background. This was a regression in this morning's refactoring. --- pw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pw.c') 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)) { -- cgit v1.2.3