summaryrefslogtreecommitdiff
path: root/lolcat.c
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2014-10-25 16:39:50 +0200
committerjaseg <code@jaseg.net>2014-10-25 16:39:50 +0200
commit01c43f14c24108598e8857a3f4ed8fd27dfeb959 (patch)
tree5ae4a2d2fe874570ebdb84034ed4ee5848254b47 /lolcat.c
parent14b47df4525a53d21c1d88d605f66ffe486e7e75 (diff)
downloadlolcat-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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lolcat.c b/lolcat.c
index 87eaeb9..9a8ac2d 100644
--- a/lolcat.c
+++ b/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);