From 54bb079c6ba652d5c1fdc5acb64d123a666e7a12 Mon Sep 17 00:00:00 2001 From: dqnk <64268180+dqnk@users.noreply.github.com> Date: Wed, 21 Jul 2021 21:42:32 +0200 Subject: [PATCH] Update uwufetch.c Added comments which should hopefully explain the behavior correctly. --- uwufetch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uwufetch.c b/uwufetch.c index a3d296d..3a838e6 100644 --- a/uwufetch.c +++ b/uwufetch.c @@ -153,8 +153,8 @@ int main(int argc, char *argv[]) parse_config(); if ((argc == 1 && ascii_image_flag == 0) || (argc > 1 && ascii_image_flag == 0)) { - printf("\n"); - printf("\033[1A"); // to align info text + printf("\n"); // print a new line + printf("\033[1A"); // go up one line if possible print_ascii(); } else if (ascii_image_flag == 1)