Opened 4 years ago
Last modified 4 years ago
#32694 closed Bug
Colored output detection issue in VS Code on Windows 8.1 — at Initial Version
Reported by: | Thibaud Colas | Owned by: | nobody |
---|---|---|---|
Component: | Core (Management commands) | Version: | 3.2 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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.