Skip to content

Pager/paging is not working when focus is in "Unstaged Changes" or "Staged Changes" window #1939

@c02y

Description

@c02y

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.
image

image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions