Skip to content

line wrapping #20

Description

@mookid

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions