-
Notifications
You must be signed in to change notification settings - Fork 31
feat: inline with resizing #40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Can you remove |
|
Yup it builds just fine for windows, one thing i noticed is that it's still slower than The thing is another problem has arisen, here is the image im using for testing. The left is Konsole( Same thing happens on Ghostyy) and the right is Kitty with Do you see that insane amount of artifacts or whatever those rectangles are? On your other PR when i was testing with the same image yesterday i dont remember this happening. Man this addition is like a hydra, you cut off 1 head and 2 more spawn to take its place |
|
@Achno I see them on your screenshot but not on my machine, so I'll be unable to debug that as it's not seemingly reproducible on my end. Note The cubes (artifacts) on mine are a shader I use with Ghostty Yes very much seems like its a bit of a hydra! I think the best bet here would be to merge the PR and then you or someone else can debug on the the img-preview branch. As it stands on my end everything seems fine. |
I don't even wish this on my worst enemy. I guess a lot more debugging is needed in my end, i will try to figure this out. |
|
@Achno, like I said, I'd at least merge to this feature branch to do testing and possibly pick another person who can help. It's definitely been fun and frustrating, but I think it's a must-have feature at this point. Sorry about it kind of just working for me. |
|
The artifacts seem to diminish when when i full-size my terminal. I also noticed you have a maximized terminal and trying this. try minimizing to a dimension like mine |
|
@Achno heres mine at a reduced size Mine still seems to fine. |
|
Yea i get it, i know its been frustrating, don't worry i won't bother you anymore. I will at least push the feature as experimental behind the flag. I'm merging this in the feature branch, i will refactor some code and then i will merge it to main a bit later |
|
@Achno, if I was of help on this, that's really all that matters. Eventually, it will all work as it seemingly does for me. If you don't mind tagging me when it's figured out, I wish it just worked or at least was consistent with the issues. But as it stands, the bug seems to be Linux-based, or at least that's what I presume. Best wishes, and I'm sure I'll open more PRs in the future if I feel I can be of help. P.S. No bother at all, just ever frustrating that the hydra keeps fighting back lol. |
I actually have 0 idea what it is, because its image based, all of the images i have tried so far work fine except that one i shared, super weird.
Yea no kidding, i don't think i ever had so much frustration in any other feature. I will close your |
|
At least it was a good learning experience for both of us. |
…at) (#41) * added inline preview & refactored terminal utils * feat: finish inline with reszing imgs * feat: inline Image preview with reszing (#40) * refactored terminal.go for better error handling and removing fprintf --------- Co-authored-by: MillerApps <[email protected]>






@Achno
Here we go again! It's pretty much what the other PR had, just with the switch you made to use
"golang.org/x/term". Hopefully it works on your end, I only tested in Ghostty 1.1.2 on macOS Sequoia 15.3.1