diff options
author | jaseg <code@jaseg.net> | 2014-10-25 16:39:50 +0200 |
---|---|---|
committer | jaseg <code@jaseg.net> | 2014-10-25 16:39:50 +0200 |
commit | 01c43f14c24108598e8857a3f4ed8fd27dfeb959 (patch) | |
tree | 5ae4a2d2fe874570ebdb84034ed4ee5848254b47 /lolcat.c | |
parent | 14b47df4525a53d21c1d88d605f66ffe486e7e75 (diff) | |
download | lolcat-01c43f14c24108598e8857a3f4ed8fd27dfeb959.tar.gz lolcat-01c43f14c24108598e8857a3f4ed8fd27dfeb959.tar.bz2 lolcat-01c43f14c24108598e8857a3f4ed8fd27dfeb959.zip |
Made the newline behavior compliant with the one of cat(1)
Diffstat (limited to 'lolcat.c')
-rw-r--r-- | lolcat.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |