Skip to content

Custom pager breaks diffs or shows a blank screen #4811

Answered by sawyershoemaker
3ino asked this question in Q&A
Discussion options

You must be logged in to vote

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

Please feel free to mark this as an answer if it helped, thank you!

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@3ino
Comment options

@stefanhaller
Comment options

@sawyershoemaker
Comment options

@stefanhaller
Comment options

Answer selected by 3ino
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants