|
From: | Victor Engmark |
Subject: | [wdiff-bugs] Color mode |
Date: | Thu, 10 Nov 2011 14:21:21 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 |
wdiff -w "$(tput bold;tput setaf 1)" -x "$(tput sgr0)" -y "$(tput bold;tput setaf 2)" -z "$(tput sgr0)" "$@"
It would also be very nice if this could be built into wdiff as a new option, like `git diff --color=[auto|always|never]` does to very good effect.
Cheers, V
[Prev in Thread] | Current Thread | [Next in Thread] |