diffr icon indicating copy to clipboard operation
diffr copied to clipboard

line wrapping

Open mookid opened this issue 6 years ago • 0 comments

On a diff with very long lines, diffr helps but reading unified diff is still hard.

Implement a flag that wraps long lines before highlighting differences. This is almost as running diff -u file1 file2 | fold | diffr instead of diff -u file1 file2 | diffr, except that the fold command is aware of leading "+/-" characters.

see https://blog.robertelder.org/terminal-diff-tool/ that tries to do something clever.

mookid avatar Sep 02 '19 21:09 mookid