Console loses color when when spawning a new command prompt #306

Closed
opened 2026-01-30 21:48:27 +00:00 by claunia · 4 comments
Owner

Originally created by @emmatyping on GitHub (Jun 13, 2018).

Originally assigned to: @DHowett-MSFT on GitHub.

I'm pretty sure this is a bug, but it might be a feature request. (Also I recognize this is probably low priority).

  • Your Windows build number: (Type ver at a Windows Command Prompt)

Microsoft Windows [Version 10.0.17686.1003]
Though I will note that it has been this way forever.

  • What you're doing and what's happening: (Copy & paste specific commands and their output, or include screen shots)
$ cargo build
     <green>Finished</green> dev [unoptimized + debuginfo] target(s) in 0.30s
$ cmd
Spawns new shell, etc, but the colorful output from cargo build is now gone!

Example:
2018-06-13_15-02-38

  • What's wrong / what should be happening instead:

It seems the color information is lost somewhere, and everything goes back to being black and white :(

Originally created by @emmatyping on GitHub (Jun 13, 2018). Originally assigned to: @DHowett-MSFT on GitHub. I'm pretty sure this is a bug, but it might be a feature request. (Also I recognize this is probably low priority). * Your Windows build number: (Type `ver` at a Windows Command Prompt) Microsoft Windows [Version 10.0.17686.1003] Though I will note that it has been this way forever. * What you're doing and what's happening: (Copy & paste specific commands and their output, or include screen shots) ``` $ cargo build <green>Finished</green> dev [unoptimized + debuginfo] target(s) in 0.30s $ cmd Spawns new shell, etc, but the colorful output from cargo build is now gone! ``` Example: ![2018-06-13_15-02-38](https://user-images.githubusercontent.com/9504279/41380841-e35968a0-6f1a-11e8-8afc-7f126103d626.gif) * What's wrong / what should be happening instead: It seems the color information is lost somewhere, and everything goes back to being black and white :(
claunia added the Resolution-Fix-AvailableWork-ItemProduct-Cmd.exe labels 2026-01-30 21:48:27 +00:00
Author
Owner

@Ansuel commented on GitHub (Jun 15, 2018):

this also happen in a powershell console when calling cmd command...

@Ansuel commented on GitHub (Jun 15, 2018): this also happen in a powershell console when calling cmd command...
Author
Owner

@dks28 commented on GitHub (Aug 9, 2018):

This randomly happened for me in the Windows subsystem for linux as well, but the issue persists across restarts and new windows (which I feel like is not the case for you)

@dks28 commented on GitHub (Aug 9, 2018): This randomly happened for me in the Windows subsystem for linux as well, but the issue persists across restarts and new windows (which I feel like is not the case for you)
Author
Owner

@DHowett-MSFT commented on GitHub (Jan 10, 2019):

A fix for this shipped in 19H1 Insider Build 18312. Try it out!

@DHowett-MSFT commented on GitHub (Jan 10, 2019): A fix for this shipped in 19H1 Insider Build 18312. Try it out!
Author
Owner

@emmatyping commented on GitHub (Jan 12, 2019):

I can confirm that the fix works. Thank you and everyone on the console team for your work! 🎉

@emmatyping commented on GitHub (Jan 12, 2019): I can confirm that the fix works. Thank you and everyone on the console team for your work! 🎉
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#306