diffr icon indicating copy to clipboard operation
diffr copied to clipboard

Support `--side-by-side` switch

Open rpdelaney opened this issue 5 years ago • 2 comments

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

rpdelaney avatar Feb 05 '20 21:02 rpdelaney

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 :)

mookid avatar Feb 06 '20 00:02 mookid

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.

rpdelaney avatar Feb 06 '20 01:02 rpdelaney