Made lolcat clean up after itself by resetting the term color

This commit is contained in:
jaseg 2014-10-25 16:41:03 +02:00
parent 01c43f14c2
commit 1a7b19cd24

View file

@ -161,7 +161,8 @@ int main(int argc, char **argv){
if(escape_state == 2)
printf("\033[38;5;%hhum", codes[cc % ARRAY_SIZE(codes)]);
}
printf("\n");
printf("\n\033[0m");
cc = -1;
fclose(f);