diff options
author | Kevin Lange <k@dakko.us> | 2011-12-04 13:48:33 -0600 |
---|---|---|
committer | Kevin Lange <k@dakko.us> | 2011-12-04 13:48:33 -0600 |
commit | 48ec643ed160eee76c118cc32b051d6e4397293b (patch) | |
tree | ff13fcf227be701959a0bd03904c2965c3ad8c5d | |
parent | 18d47f079ed86f09c52098579f93ab7fec878359 (diff) | |
download | nyancat-48ec643ed160eee76c118cc32b051d6e4397293b.tar.gz |
Reset colors when exited from standalone mode
Diffstat (limited to '')
-rw-r--r-- | src/nyancat.c | 2 |
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); } |