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? |
Beta Was this translation helpful? Give feedback.
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.
|
Beta Was this translation helpful? Give feedback.
@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.