question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Windows default terminal can't handle color codes: --no-ansi by default?

See original GitHub issue

The default Windows terminal (below) and even Hyper (above) can’t handle color codes: image

Maybe make --no-ansi the default on Windows? Or allow me to set the setting system-wide?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
moigagoocommented, May 31, 2018

FYI colors are shown just fine in ConEmu.

0reactions
vberliercommented, Jun 17, 2018

Hmm… I’m using ConEmu as the integrated VS Code terminal and I have kind of the same problem.

image

The colors work fine in ConEmu but don’t show up through VS Code. However they work when piping the output to cat.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows console with ANSI colors handling - Super User
Currently CMD console colors are not enabled by default in Win10, so, to enable it add this to your code ...
Read more >
Use ANSI colors in the terminal - Windows CMD - SS64.com
ANSI colors are available by default in Windows version 1909 or newer. See below for older versions. Specify the color codes in a...
Read more >
Command-line interface / Commands - Composer
--dev: Install packages listed in require-dev (this is the default behavior). ... with some terminals or scripts which don't handle backspace characters.
Read more >
Color schemes in Windows Terminal - Microsoft Learn
Windows Terminal includes these color schemes inside the defaults.json file, which can be accessed by holding alt and selecting the settings ...
Read more >
No ANSI colors for Powershell or CMD inside iex - Elixir Forum
Hi, I have been experiencing some problems using on Windows regarding iex output coloring. Since I've been using CMDER as my main console...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found