#32694: Colored output detection issue in VS Code on Windows 8.1
-------------------------------------+-------------------------------------
Reporter: Thibaud Colas | Owner: nobody
Type: Bug | Status: new
Component: Core (Management | Version: 3.2
commands) |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by Thibaud Colas:
Old 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.
New 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:
[[Image(https://code.djangoproject.com/raw-attachment/ticket/32694
/gitbash-colored-output.png)]]
--
--
Ticket URL: <https://code.djangoproject.com/ticket/32694#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/070.910698dc45c9a4d947ccd5f5f7213202%40djangoproject.com.