diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-04-14 02:12:01 +0200 |
---|---|---|
committer | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-09-10 18:50:04 +1000 |
commit | fa37e9da4b02810eedbb0ac82e8cd0b99336aa82 (patch) | |
tree | 47434020dbb9699ea6d51a708d376518dfba6abc /win32/Kbuild | |
parent | 909696f1394a67f38f678eb9cfb0d794173095fd (diff) | |
download | busybox-w32-fa37e9da4b02810eedbb0ac82e8cd0b99336aa82.tar.gz busybox-w32-fa37e9da4b02810eedbb0ac82e8cd0b99336aa82.tar.bz2 busybox-w32-fa37e9da4b02810eedbb0ac82e8cd0b99336aa82.zip |
win32: Support certain ANSI sequences on cmd.exe
Support sequences are mostly color ones.
This was extracted from commit
e56b799d6ad8afba4168fffa7218d44c041a72d2
in Git repository. Changes from original version:
> diff --git a/home/pclouds/w/git/compat/winansi.c b/tmp/winansi2.c
> index 44dc293..e2e7010 100644
> --- a/home/pclouds/w/git/compat/winansi.c
> +++ b/tmp/winansi2.c
> @@ -2,8 +2,9 @@
> * Copyright 2008 Peter Harris <git@peter.is-a-geek.org>
> */
>
> +#include "libbb.h"
> #include <windows.h>
> -#include "../git-compat-util.h"
> +#undef PACKED
>
> /*
> Functions to be wrapped:
Diffstat (limited to 'win32/Kbuild')
-rw-r--r-- | win32/Kbuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/Kbuild b/win32/Kbuild index 68a58ca77..dc3b24376 100644 --- a/win32/Kbuild +++ b/win32/Kbuild | |||
@@ -9,3 +9,4 @@ lib-$(CONFIG_PLATFORM_MINGW32) += fnmatch.o | |||
9 | lib-$(CONFIG_PLATFORM_MINGW32) += mingw.o | 9 | lib-$(CONFIG_PLATFORM_MINGW32) += mingw.o |
10 | lib-$(CONFIG_PLATFORM_MINGW32) += process.o | 10 | lib-$(CONFIG_PLATFORM_MINGW32) += process.o |
11 | lib-$(CONFIG_PLATFORM_MINGW32) += regex.o | 11 | lib-$(CONFIG_PLATFORM_MINGW32) += regex.o |
12 | lib-$(CONFIG_PLATFORM_MINGW32) += winansi.o | ||