aboutsummaryrefslogtreecommitdiffstats
path: root/src/nyancat.c
diff options
context:
space:
mode:
authorKevin Lange <k@dakko.us>2011-12-04 13:48:33 -0600
committerKevin Lange <k@dakko.us>2011-12-04 13:48:33 -0600
commit48ec643ed160eee76c118cc32b051d6e4397293b (patch)
treeff13fcf227be701959a0bd03904c2965c3ad8c5d /src/nyancat.c
parent18d47f079ed86f09c52098579f93ab7fec878359 (diff)
downloadnyancat-48ec643ed160eee76c118cc32b051d6e4397293b.tar.gz
Reset colors when exited from standalone mode
Diffstat (limited to '')
-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);
}