﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
32694	Colored output detection issue in VS Code on Windows 8.1	Thibaud Colas	nobody	"Apologies if this is a known issue. I searched for references to 'Windows' in the bug tracker and didn't find any that matched. I'm also unsure whether Windows 8.1 support is important to Django or not.

Trying Django 3.2 on a Windows machine in VS Code, I noticed the colored CLI output (https://docs.djangoproject.com/en/3.2/ref/django-admin/#syntax-coloring) doesn't work in the VS Code integrated terminal. This is with Git Bash, and the built-in cmd.exe as far as I can see.

Here is the type of output I'm seeing (Git Bash in this case):

{{{
$ python manage.py makemigrations
←[36;1mMigrations for 'blog':←[0m
  ←[1mblog\migrations\0001_initial.py←[0m
    - Create model BlogIndexPage
(.venv)
}}}

See the attached screenshot, which shows that colors support works otherwise:

[[Image(https://code.djangoproject.com/raw-attachment/ticket/32694/gitbash-colored-output.png)]]

For what it's worth I also tried Git Bash and the cmd.exe prompt outside VS Code, and both seemed to work as expected (not showing any colored output).

I also tried installing colorama, and with this installed I get the expected colored output in the VS Code terminal. So the issue seems to be with the detection of whether color codes should be in the output or not."	Bug	new	Core (Management commands)	3.2	Normal				Unreviewed	0	0	0	0	0	0
