lazygit
lazygit copied to clipboard
`:`, `n` keys don't work immediately after starting lazygit
Describe the bug
When starting lazygit, I cannot use the :
nor the n
key to open the custom command/new branch context.
However, when I change the repo with ctrl-r, enter
and then swich immediately back to the first repo, again by typing ctrl-r, enter
, the :
and n
key suddenly work.
To Reproduce
- type
lazygit
into console. - type
:
/n
-> does not work - type
ctrl-r
to open repo change context - type
enter
- type
ctrl-r
to open repo change context to switch back - type
enter
-
:
/n
now works
Expected behavior
Typing :
/n
directly after starting lazygit
opens the custom command/new branch context immediately
Desktop (please complete the following information):
- OS: Ubuntu 22.04 LTS
-
lazygit -v
gives mecommit=, build date=, build source=unknown, version=unversioned, os=linux, arch=amd64
- installed with
go install github.com/jesseduffield/lazygit@latest
, [email protected] in go pkg directory
Could you try a different terminal emulator?
I tried reproducing it within ubuntu:22.10
docker, but couldn't, does it happen for you there as well?
The issue occurs in gnome-terminal, xterm, guake.
Does this happen with the US keyboard layout?