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
After v0.65.0 update there is a second or so delay between pressing escape key and exiting from whatever section was opened. If escape is pressed multiple times within this delay window, the action is ignored completely. This does not happen on previous versions (v0.64.1 tested during reporting).
To Reproduce
Steps to reproduce the behavior:
Go to Local branches or Commits;
Press enter on a branch or commit;
Try to exit the view by pressing Esc;
There's a delay before action happening;
a. Pressing Esc multiple times doesn't exit the view a all.
Expected behavior
There should be no delay, besides reasonable input handling one. Pressing Esc multiple times should exit nested views.
@mauroporras I'm surprised by that; I don't have this problem with the exact same versions of macOS and Ghostty.
Anyway, can those who are affected by the problem please test the branch wip-bump-tcell in this repo? I confirmed that it fixes it for me with WezTerm on Mac. (Akthough I could imagine that pressing is Esc is still a tiny little bit slower than with 0.64, but it's hard to be sure.)
Can confirm, on wip-bump-tcell its definitely better (and I would say usable) again on linux in konsole.
But, also, it is definitely not as snappy as it was with 0.64.1. There the ESC action triggered immediately on keydown, now with the fix it is a definitely a bit delayed.
@stefanhaller, I should have mentioned that I use the Ctrl + [ combination, just like in Vim. Normal Esc key works as expected.
@mauroporras I'm very confused; normally ctrl+[ shouldn't work the same as Esc with a Terminal that supports modern keyboard protocols (like Ghostty). And it doesn't for me. You'd have to explicitly map it in the lazygit config with something like
@mauroporras I see; I can reproduce it with that. And the fix in wip-bump-tcell makes it a lot faster again, but not quite as fast as it was before 0.65.
Activity
appenzellergeller commentedon Sep 8, 2026
I have the same bug on native linux (cachyos) on KDE using Konsole.
I first thought ESC was not working at all, thanks to your issue found out it is only delayed.
stefanhaller commentedon Sep 8, 2026
This is a regression in the tcell library that we use. It has already been reported upstream, and I linked this issue there; see gdamore/tcell#1169.
driuba commentedon Sep 8, 2026
Can we expect a patch to revert
tcellversion change? Or are we gonna wait for upstream fix?mauroporras commentedon Sep 11, 2026
Same thing happening on macOS Tahoe 26.6.2 + Ghostty 1.3.1
Thanks.
stefanhaller commentedon Sep 11, 2026
@mauroporras I'm surprised by that; I don't have this problem with the exact same versions of macOS and Ghostty.
Anyway, can those who are affected by the problem please test the branch
wip-bump-tcellin this repo? I confirmed that it fixes it for me with WezTerm on Mac. (Akthough I could imagine that pressing is Esc is still a tiny little bit slower than with 0.64, but it's hard to be sure.)driuba commentedon Sep 11, 2026
I'll probably have an opportunity to test it no sooner than tuesday.
BadAcronym commentedon Sep 11, 2026
On linux (also wezterm), it's much better on
wip-bump-tcell, although the response still seems delayed to me (an extra ~50ms compared to0.64.1).appenzellergeller commentedon Sep 11, 2026
Can confirm, on
wip-bump-tcellits definitely better (and I would say usable) again on linux in konsole.But, also, it is definitely not as snappy as it was with 0.64.1. There the
ESCaction triggered immediately onkeydown, now with the fix it is a definitely a bit delayed.mauroporras commentedon Sep 11, 2026
@stefanhaller, I should have mentioned that I use the
Ctrl + [combination, just like in Vim. NormalEsckey works as expected. My bad.stefanhaller commentedon Sep 11, 2026
@mauroporras I'm very confused; normally
ctrl+[shouldn't work the same as Esc with a Terminal that supports modern keyboard protocols (like Ghostty). And it doesn't for me. You'd have to explicitly map it in the lazygit config with something likeDid you do that? But if I do, it is still very fast.
mauroporras commentedon Sep 11, 2026
@stefanhaller, I have this config on my
config.ghosttyfile:stefanhaller commentedon Sep 11, 2026
@mauroporras I see; I can reproduce it with that. And the fix in
wip-bump-tcellmakes it a lot faster again, but not quite as fast as it was before 0.65.mauroporras commentedon Sep 11, 2026
@stefanhaller, I just tested myself and
wip-bump-tcellworks for me too and such short delay is not a show stopper for me. Thanks for everything.stefanhaller commentedon Sep 11, 2026
Ok, this should fix it for real: #6011. Please test this, I'd like to release this tomorrow.
mauroporras commentedon Sep 11, 2026
@stefanhaller, branch
bump-tcellworks perfectly for me. Thanks.stefanhaller commentedon Sep 13, 2026
Closed by #6011.