Disable ANSI emulation in certain windows shells
Disable ANSI emulation in certain windows shells

This disables recently added ANSI emulation feature in certain Windows
shells (like ConEmu) where ANSI output is emulated by default with builtin
functionality in the shell.

MSYS (mingw) runs in cmd.exe window and it doesn't support emulation.

Cygwin doesn't even pass terminal handles to docker.exe as far as I can
tell, stdin/stdout/stderr handles are behaving like non-TTY. Therefore not
even including that in the check.

Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>

Docker-DCO-1.1-Signed-off-by: Jessie Frazelle <hugs@docker.com> (github: jfrazelle)

Docker-DCO-1.1-Signed-off-by: Jessie Frazelle <jess@docker.com> (github: jfrazelle)

josemonsalve2/docker,seanmcdaniel/docker,seanmcdaniel/docker,josemonsalve2/docker,carlye566/docker_eric,AdamOssenford/docker-pi,AdamOssenford/docker-pi,carlye566/docker_eric,carlye566/docker_eric,seanmcdaniel/docker,AdamOssenford/docker-pi,josemonsalve2/docker