No colors in the main console [help wanted]
See original GitHub issueHi @megahertz again 😄
How can I use colors in the main console? I’m using electron with vue and the logs always are shown in white color:
log.info('%cRed text. %cGreen text', 'color: red', 'color: green')
only works in the browser devtools
Thanks!
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Switch to disable color output to console · Issue #843 · avajs/ava
it would be good to have a switch that disable colors in console output f.e --no-color it was useful when ava used under...
Read more >Colorizing text in the console with C++ - Stack Overflow
Colors are not supported by the C++ library. But a library for console handling may/will support colors. E.g. google "ncurses colors". For ...
Read more >Using console colors with Node.js - LogRocket Blog
In this article, we'll learn how to implement console colors and how to use Chalk, Colors.js, and Color-CLI to help us.
Read more >A .NET Color Console Helper - Rick Strahl's Web Log
Wanted to set my Windows SetResolution tool to only show on Windows, so Mac or Linux users don't see it, but alas that's...
Read more >Color output in console - ArchWiki
The basic color encoding provides 8 normal-brightness colors and 8 brighter ... Frequent users of the command line interface might want to install...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you for your feedback. Does the latest version solve the issue?
Could you share code which prints these lines?