-
Notifications
You must be signed in to change notification settings - Fork 25
line wrapping #20
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Activity
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
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 | diffrinstead ofdiff -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.