Made the newline behavior compliant with the one of cat(1)
This commit is contained in:
parent
14b47df452
commit
01c43f14c2
1 changed files with 1 additions and 0 deletions
1
lolcat.c
1
lolcat.c
|
|
@ -161,6 +161,7 @@ int main(int argc, char **argv){
|
|||
if(escape_state == 2)
|
||||
printf("\033[38;5;%hhum", codes[cc % ARRAY_SIZE(codes)]);
|
||||
}
|
||||
printf("\n");
|
||||
|
||||
fclose(f);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue