mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-14 04:32:12 +00:00
Image: [catimg] Fix incorrect image sizing
This commit is contained in:
2
neofetch
2
neofetch
@@ -2346,7 +2346,7 @@ display_image() {
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
"catimg")
|
"catimg")
|
||||||
catimg -w "$((columns + gap))" "$image" || to_off "Image: catimg failed to display the image."
|
catimg -w "$((width / font_width * 2))" -r 0 "$image" || to_off "Image: catimg failed to display the image."
|
||||||
zws=
|
zws=
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user