Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

colordiff -y [https://www.colordiff.org/] has similar functionality.


Another alternative: Kitty-diff

It’s terminal specific as it uses kitty’s graphics extensions but it looks really IMHO.

https://sw.kovidgoyal.net/kitty/kittens/diff.html


colordiff highlights the entire line when any part is changed:

* colordiff -y: https://www.jefftk.com/colordiff-y-example-simple.png

* icdiff: https://www.jefftk.com/icdiff-example-simple.png

icdiff also makes better use of horizontal space.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: