jesseduffield / jesseduffield/lazygit
Close menu in integrated neovim terminal
- Dominant language
- Go
- Stars
- 82.4k
- Forks
- 3k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 19
Description
Cannot close any menu (opened with `x`) in integrated neovim's terminal. `ESC` brings you to normal mode and `q` closes lazygit. I want to mention that in `lazydocker` hitting `q`, while any menu is opened, closes the menu - works as expected. So lazygit - doesn't work, lazydocker - works.
Steps to reproduce the behavior:
1. Open neovim
2. Open terminal in neovim (`:term://zsh`)
3. Open lazygit
4. Open any menu (hit `x`)
5. Press `ESC` or press `q`
Expecting to close opened menu, but not entire lazygit, with `q` as it in lazygocker.
https://user-images.githubusercontent.com/45129790/217710186-73165fdd-88d2-4138-b9cb-b9adf2740c76.mp4
lazygit version - `commit=, build date=, build source=homebrew, version=0.35, os=darwin, arch=arm64`
git version - `git version 2.37.1 (Apple Git-137.1)`
Contributor guide
Assessment
This issue has not been assessed yet.