ymattw / ydiff

View colored, incremental diff in workspace or from stdin, side by side and auto paged.
Other
877 stars 62 forks source link

Highlight changes instead of underlining them #99

Closed arbitrary-dev closed 1 week ago

arbitrary-dev commented 4 years ago

Is there a way to highlight changes instead of underlining them?

Because underlining is hard to spot, it'd be nice to have an option to highlight them as is done in case of removals/deletions.

ElectricRCAircraftGuy commented 3 years ago

What is the meaning of underlined changes vs highlighted changes anyway?

arbitrary-dev commented 3 years ago

Looks better to me:

areashot-2021-03-20-163909

ymattw commented 1 week ago

Only after word-level diffs are provided, switching to reversed color is more human readable than underline for changed text. This is now addressed in commit 5126c52. Check out the latest revision!