Closed jrop closed 4 years ago
Is there some termbox issue about this?
@fcsonline I linked the relevant termbox issue above ☝️
Is this working for you?
@fcsonline Unfortunately it is not, but it is due to termbox-sys, and not this project. Until they cut a new release, I don't think this will work on my Mac. I left this issue open because, once termbox-sys releases a fix, this tool will likely need to upgrade to the new version in order for this to be fixed for me.
Ok, no problem. Waiting for a termbox's fix.
@fcsonline 👇
(@ghcp) Just published 0.2.12 [of termbox-sys]
Perfect, now it is time to rustbox to update the dependency :crossed_fingers: :
Just got the same error!
It seems that rustbox crate is not maintained. I'll try to find an alternative. Something like https://github.com/redox-os/termion
Anyone figure out a temporary fix for this?
Nice! I have a working branch using termion
:muscle: . I want to review it a bit before release it.
I get a similar issue with termbox on Fedora 32. The feature/termion
branch works though!
I have a bug with that branch. It seems to be working, at first, but when I run a command that has a pager (less, git show, git log, etc') it breaks thumbs (i.e., it becomes jittery, and the command output start to flicker. Every run thereafter of tmux thumbs will cause a jitter.
Here's a screen recording of the weird behaviour https://drive.google.com/file/d/1r_i-58v2e3B3uDRbdHuPGXSzS4eJJi4k/view?usp=sharing
EDIT: In retrospect, this might not be completely related to that branch. Let me know if thats the case and I'll open a new ticket! :)
Nice! I have a working branch using
termion
. I want to review it a bit before release it.
@fcsonline regarding termion
branch, I've noticed text-bleed and invisibility when used on a tmux vertical split when height is less than 100%.
I'm going to test a bit more all those cases. It is hard to change the underneath UI library keeping exactly the same behavior. For this reason I really appreciate all your feedback on this branch.
@avshyz and @rafi I just pushed new code in that branch. Review it because I think I fixed the glitches you are talking about.
Double-check you use the last code because I force pushed the branch.
@fcsonline much better, text is not jittered. However, the overlay buffer y-axis isn't perfect. Sometimes it's off by a few lines, other times the beginning of buffer appears. I suspect tmux's split height isn't being computed or coupled-in right.
@fcsonline - I confirm what @rafi have seen (though it's a huge improvement!)
Check if this is the case described in this issue:
https://github.com/fcsonline/tmux-thumbs/issues/1
This is one of the oldest issues with long lines. 😅 Long lines and wrapping break all the things. I have been super lazy trying to solve this.
If this is the case, then I think the branch is quite ready.
It seems that the termion branch solves the long line issue too. :muscle:
I start to feel really comfortable with the stability of this branch. So the merge will be sooner than later.
The branch was merged! :rocket: Also I enabled again the mac build in CI. Closing this issue!
I am getting the following error when attempting to build this crate on macOS Catalina (10.15.3 (19D76)):