Custom pager breaks diffs or shows a blank screen #4811
|
I'm on windows and have this in my config.yml But the diffs go blank, freeze, and sometimes I get errors when opening diffs, anyone have the same issue or a way to fix? |
Answered by
sawyershoemaker
Aug 10, 2025
Replies: 1 comment 4 replies
|
@3ino, this is because custom pagers require a PTY, which isn't currently supported on Windows. However, disabling the custom pager so that lazygit uses the built-in rendering will allow you to view the diffs. If you really want to run delta on Windows, run lazygit inside WSL where pagers are supported, or rely on delta in your Git config outside lazygit but leave the pager empty inside.
|
4 replies
Answer selected by
3ino
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@3ino, this is because custom pagers require a PTY, which isn't currently supported on Windows. However, disabling the custom pager so that lazygit uses the built-in rendering will allow you to view the diffs.
If you really want to run delta on Windows, run lazygit inside WSL where pagers are supported, or rely on delta in your Git config outside lazygit but leave the pager empty inside.