ranger fails to render images on ghostty v1.3.x #12901
Unanswered
nilsherzig
asked this question in
Issue Triage
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Issue Description
When trying to render images while using https://github.com/ranger/ranger ghostty 1.3.x fails to render them (works fine with 1.2.3).
Ghostty is able to render images using
kitty icat filename.Using the same ranger version with kitty 0.47.1 works.
Here is a related thread in the ranger issues:
ranger/ranger#3203 (comment)
I think i found the relevant code change (i know nothing about zig tho):
Inside
src/terminal/kitty/graphics_image.zig:I think ghostty throws error.StreamTooLong due to reaching the byte limit from appendRemaining. I think ranger is handling this in the right way. Which is why i am reporting it here. Please let me know if i can test anything else.
Expected Behavior
Ghostty should show an image on the right side of the screen inside ranger
Actual Behavior
Ranger does not show an image (or crashes if started with --debug)
Reproduction Steps
Ghostty Logs
Ghostty Version
OS Version Information
Linux desktop 6.18.33 #1-NixOS SMP PREEMPT_DYNAMIC Sat May 23 11:07:21 UTC 2026 x86_64 GNU/Linux
(Linux only) Display Server
Wayland
(Linux only) Desktop Environment/Window Manager
Hyprland
Minimal Ghostty Configuration
# empty / default configAdditional Relevant Configuration
Ranger configured to
I acknowledge that:
```) on separate lines.Beta Was this translation helpful? Give feedback.
All reactions