aboutsummaryrefslogtreecommitdiffstats
path: root/pw.c
diff options
context:
space:
mode:
Diffstat (limited to 'pw.c')
-rw-r--r--pw.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/pw.c b/pw.c
index e3a2b0a..be72687 100644
--- a/pw.c
+++ b/pw.c
@@ -824,8 +824,6 @@ int main(int argc, char **argv)
switch (ch) {
case 'q': case 3:
kbd_state = kbd_exit;
- clrline();
- fflush(stdout);
break;
case 'h':
if (hpos >= 8) {
@@ -1058,7 +1056,7 @@ int main(int argc, char **argv)
}
}
}
-
+ clrline();
ttyset(ttyfd, &tty_saved);
return exit_status;
}