Update uwufetch.c

Added comments which should hopefully explain the behavior correctly.
This commit is contained in:
dqnk 2021-07-21 21:42:32 +02:00 committed by GitHub
parent 45f0647bcc
commit 54bb079c6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -153,8 +153,8 @@ int main(int argc, char *argv[])
parse_config(); parse_config();
if ((argc == 1 && ascii_image_flag == 0) || (argc > 1 && ascii_image_flag == 0)) if ((argc == 1 && ascii_image_flag == 0) || (argc > 1 && ascii_image_flag == 0))
{ {
printf("\n"); printf("\n"); // print a new line
printf("\033[1A"); // to align info text printf("\033[1A"); // go up one line if possible
print_ascii(); print_ascii();
} }
else if (ascii_image_flag == 1) else if (ascii_image_flag == 1)