jesseduffield / jesseduffield/lazygit

refresh binding is not working in some section

Open
#1,161 0 comments 0 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 I'm in the layout only with `Unstaged Changes`+`Staged Changes` sections visible, point is in the `Unstaged Changes` section(the 1-5 panes being visible or not doesn't matter), the `R` to refresh is not working.

**To Reproduce**
Steps to reproduce the behavior:
1. Check the modification of a file under only `Unstaged Changes`+`Staged Changes` sections layout, point is in `Unstaged Changes` section
2. change the file outside of lazygit
3. `R` to refresh
4. nothing changes, but after you hit `Escape` to escape the layout, it auto-refreshes the changes

**Expected behavior**
A clear and concise description of what you expected to happen.
`R` should refresh the `Unstaged Changes` in `Unstaged Changes`+`Staged Changes` sections layout

**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] 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.

BTW:
`lazygit -v` is basically empty, how can I fill the bug report? (I already opened a new issue)

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.