From: Peter Harris Date: Wed, 02 Jul 2008 19:32:56 GMT Subject: Re: [msysGit] [PATCH 10/12] Add ANSI control code emulation for the Windows console Message-ID: In-Reply-To: <200807022117.38166.johannes.sixt@telecom.at> On Wed, Jul 2, 2008 at 3:17 PM, Johannes Sixt wrote: > On Mittwoch, 2. Juli 2008, Steffen Prohaska wrote: >> This adds only the minimum necessary to keep git pull/merge's diffstat from >> wrapping. Notably absent is support for the K (erase) operation, and >> support for POSIX write. > > If I understand the patch correctly, it won't affect output that goes to the > pager; only text that goes directly to the console would be colored. Yes, that is correct. Note that an MSYS bash/rxvt is effectively considered a pager by this patch, since it fails the isatty() test. This is actually a good thing: MSYS has better ANSI support anyway. Peter Harris