aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/nyancat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nyancat.c b/src/nyancat.c
index 13f73b6..36d58c4 100644
--- a/src/nyancat.c
+++ b/src/nyancat.c
@@ -115,7 +115,7 @@ int digits(int val) {
* (^C) so that we can restore the cursor.
*/
void SIGINT_handler(int sig){
- printf("\033[?25h");
+ printf("\033[?25h\033[0m");
exit(0);
}