From f97f9b749fc7f97d932f10fb804fc630303e8569 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 27 Apr 2022 23:43:09 -0700 Subject: Simplify status line clearing in quit command. --- pw.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pw.c b/pw.c index 6ea1407..7a47699 100644 --- a/pw.c +++ b/pw.c @@ -510,10 +510,8 @@ int main(int argc, char **argv) switch (ch) { case 'q': case 3: kbd_state = kbd_exit; - if ((stat & (stat_eof | stat_susp | stat_htmode | stat_ttmode))) { - clrline(); - fflush(stdout); - } + clrline(); + fflush(stdout); break; case 'h': if (hpos >= 8) { -- cgit v1.2.3