From 01c43f14c24108598e8857a3f4ed8fd27dfeb959 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sat, 25 Oct 2014 16:39:50 +0200 Subject: Made the newline behavior compliant with the one of cat(1) --- lolcat.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lolcat.c') 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); -- cgit