From 48ec643ed160eee76c118cc32b051d6e4397293b Mon Sep 17 00:00:00 2001 From: Kevin Lange Date: Sun, 4 Dec 2011 13:48:33 -0600 Subject: [PATCH] Reset colors when exited from standalone mode --- src/nyancat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }