diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-04-27 23:43:09 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-04-27 23:43:09 -0700 |
commit | f97f9b749fc7f97d932f10fb804fc630303e8569 (patch) | |
tree | c42a793954b4c79b4232eac9cea8e0c74bf0a9a7 | |
parent | eb51fcb547be06ca8852ba04f83c0dbc4c6c7f9f (diff) | |
download | pw-f97f9b749fc7f97d932f10fb804fc630303e8569.tar.gz pw-f97f9b749fc7f97d932f10fb804fc630303e8569.tar.bz2 pw-f97f9b749fc7f97d932f10fb804fc630303e8569.zip |
Simplify status line clearing in quit command.
-rw-r--r-- | pw.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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) { |