Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/catimg.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,11 +240,17 @@ int main(int argc, char *argv[])
printf("\e[48;5;%um ", fgCol);
}
}
printf("\e[m\n");
printf("\e[m");
if (y + precision < img.height) {
printf("\n");
}
}
fflush(stdout);
offset += img.width * img.height;
if (stop) frame = img.frames;
}
printf("\n");
fflush(stdout);
}
// Display the cursor again
printf("\e[?25h");
Expand Down