aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2019-08-03 22:34:23 +0100
committersin <sin@2f30.org>2019-08-03 22:34:23 +0100
commitea82ba864377c3085da350a9476a587bb19ec6a9 (patch)
treef4a2379adb47d4fc296ec6db1b0eb0a0247189f4
parent1a5eb40d84cc39bdc4420ff3e591068bdfbf6669 (diff)
downloadnoice-ea82ba864377c3085da350a9476a587bb19ec6a9.tar.gz
Clear screen on exit
-rw-r--r--noice.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/noice.c b/noice.c
index b73f1ea..54e60f8 100644
--- a/noice.c
+++ b/noice.c
@@ -258,6 +258,8 @@ initcurses(void)
void
exitcurses(void)
{
+ clear();
+ refresh();
endwin(); /* Restore terminal */
}
Un proyecto texto-plano.xyz