jesseduffield / jesseduffield/lazygit

`Enter` doesn't work when `Press enter to return to lazygit`

Open
#1,179 5 comments 2 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

**Describe the bug**
A clear and concise description of what the bug is.

When lazygit prompts `Press enter to return to lazygit`, but `Enter` key is not working, I have to hit `Esc` to return to lazygit.

**To Reproduce**
Steps to reproduce the behavior:
1. in lazygit, use `e` to modify a unstaged file using your editor
2. exit the editor
3. lazygit prompts `Press enter to return to lazygit`, but `Enter` is not working, I have to hit `Esc`

There are other scenarios that lazygit `Press enter to return to lazygit`, and it seems `Enter` is never working.

**Expected behavior**
A clear and concise description of what you expected to happen.

When lazygit prpmpts `Press enter to return to lazygit`, `Enter` should work as expected.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. Windows] `Manjaro-Linux`
- Lazygit Version [e.g. v0.1.45] `0.25.1` install from `go get`
- The last commit id if you built project from sources (run : ```git-rev parse HEAD```)

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.