You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There must be something about ⡿ that is unique. It is not a regular ascii character.
In the video I am pressing the key 2 in order to trigger the menu to reload. The stutter happens every time I do this.
If I hold down 2 to cause the ⡿ to render first and then be replaced by other variations of ⡿, there is only the initial stutter:
2025-04-02_21-05-40.online-video-cutter.com.mp4
I changed the source code of gitui to use basic ascii characters a..h for the spinner instead of ⡿
Indeed, this fixed the problem stutter:
2025-04-02_21-15-43.online-video-cutter.com.mp4
Now I tried to debug this
I learned that this is happening because of font_id. font_id of ⡿ is 5. I set this to 0 and it works. Of course this is only a step in the right direction
(edit: I think this isn't because of font_id, changing font_id = 0 does "fix" this but like that's not the actual issue)
For reference, I added this line:
ifmatches!(
item.content.as_str(),"⣷" | "⣯" | "⣟" | "⡿" | "⢿" | "⣻" | "⣽" | "⣾"){// reset from 5 to 0, maybe that's going to work?
item.style.font_id = 0;}
Hi, I am experiencing a single stutter when the following character is first rendered on the 1st cell 1st column
⡿(and variants):2025-04-02_20-48-26.online-video-cutter.com.mp4
I'm not exactly sure why this could be, but I guess that because the first line is all ascii characters:
There must be something about
⡿that is unique. It is not a regular ascii character.In the video I am pressing the key
2in order to trigger the menu to reload. The stutter happens every time I do this.If I hold down
2to cause the⡿to render first and then be replaced by other variations of⡿, there is only the initial stutter:2025-04-02_21-05-40.online-video-cutter.com.mp4
I changed the source code of
gituito use basic ascii charactersa..hfor the spinner instead of⡿Indeed, this fixed the problem stutter:
2025-04-02_21-15-43.online-video-cutter.com.mp4
Now I tried to debug this
I learned that this is happening because of
font_id.font_idof⡿is5. I set this to0and it works. Of course this is only a step in the right direction(edit: I think this isn't because of
font_id, changingfont_id = 0does "fix" this but like that's not the actual issue)For reference, I added this line:
In
sugarloaf/src/layout/content.rs.My full config
My full config
This does not seem to be a
gituiissue, as I have tested it with these terminal emulators and it is not an issue there:0.370.14To test this with
gituido it on theLog(press / hold2) in a sufficiently large repo (e.g. 5k+ commits)I have tested this with different repositories including
helix,gituiandrioreposVersions:
0.270.2.8