walles / moar

Moar is a pager. It's designed to just do the right thing without any configuration.
Other
647 stars 18 forks source link

Moar does not display white space changes #249

Open alper opened 3 days ago

alper commented 3 days ago

I'm having a hard time finding something displaying whitespace changes in git diffs.

I run it like: GIT_PAGER=moar git diff

Then I get:

CleanShot 2024-10-02 at 12 46 16@2x

I already tried: -render-unprintable value=highlight

walles commented 3 days ago

Can you post the diff as well?

Just do git diff | cat and post the output here?

Or if the file contains invisible whitespace, maybe better to git diff > whitespace.diff and attach whitespace.diff here.