Reset colors when exited from standalone mode
This commit is contained in:
parent
18d47f079e
commit
48ec643ed1
@ -115,7 +115,7 @@ int digits(int val) {
|
|||||||
* (^C) so that we can restore the cursor.
|
* (^C) so that we can restore the cursor.
|
||||||
*/
|
*/
|
||||||
void SIGINT_handler(int sig){
|
void SIGINT_handler(int sig){
|
||||||
printf("\033[?25h");
|
printf("\033[?25h\033[0m");
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user