jesseduffield / jesseduffield/lazygit
Pager/paging is not working when focus is in "Unstaged Changes" or "Staged Changes" window
- 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.
**To Reproduce**
Steps to reproduce the behavior:
1. open a git repo using lazygit
2. switch focus to a modified file in `Files` side panel
3. check the `Unstaged Changed` and `Staged Changes`, the pager is working fine
4. `Enter` on the file, the focus will be in the `Staged Changes`, the pager is not working now
**Expected behavior**
A clear and concise description of what you expected to happen.
pager will work when focus is in the "Unstaged Changes" or "Staged Changes" window, I need the pager to highlight the modified/deleted/added word-by-word instead of simply lines.
**Screenshots**
If applicable, add screenshots to help explain your problem.


**Desktop (please complete the following information):**
- OS: [e.g. Windows] `Arch Linux 5.17.5-zen1-1-zen`
- Lazygit Version [e.g. v0.1.45] `v0.34` installed from Arch Linux official repo
- 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.
My related config:
```
git:
paging:
colorArg: always
useConfig: false
pager: delta --paging=never --line-numbers
```
Contributor guide
Assessment
This issue has not been assessed yet.