Add ANSI control code emulation for the Windows console
authorPeter Harris <git@peter.is-a-geek.org>
Fri, 18 Jul 2008 07:34:44 +0000 (09:34 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 19 Jul 2008 18:17:43 +0000 (11:17 -0700)
commitc09df8a74e8b5e106ad853cbb1e52f36b3663386
tree95ef2a4efa7db8a4886e13226f51dbb1c91dc972
parentb8c5db35fc23913d72c52d990d399b8ef66b646f
Add ANSI control code emulation for the Windows console

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.

Signed-off-by: Peter Harris <git@peter.is-a-geek.org>
Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
compat/mingw.h
compat/winansi.c [new file with mode: 0644]