mookid / diffr

Yet another diff highlighting tool
MIT License
575 stars 22 forks source link

Support `--side-by-side` switch #46

Open rpdelaney opened 4 years ago

rpdelaney commented 4 years ago

I'm not getting diffr highlighting when using colordiff -y foo bar | diffr. Would be neat to support that also.

mookid commented 4 years ago

I assume that colordiff -y makes the splitting.

I think that the parsing would be too tedious to be honest. Another possibility would be to implement the side-by-side rendering in diffr, but it is out of reach given the capabilities of the terminal currently used.

Anyway, I would be very curious to see anyone giving that a try :)

rpdelaney commented 4 years ago

Yeah -y is short for --side-by-side. colordiff isn't necessary, that's just muscle memory on my part. GNU diff is the same.

I could give it a shot except rust isn't (yet) my jam.