Switching on-off property 'Use Legacy Console' does not return terminal to original state. #4800

Closed
opened 2026-01-30 23:56:54 +00:00 by claunia · 2 comments
Owner

Originally created by @wpqs on GitHub (Nov 4, 2019).

Environment

https://github.com/microsoft/terminal/issues

Steps to reproduce

  1. Open Command Prompt - i.e. run cmd
  2. Open Properties | Options - remove check from 'Use Legacy console' - switch OFF
  3. Close Command Prompt
  4. Open Command Prompt - i.e. run cmd
  5. Open Properties | Options - add check from 'Use Legacy console' - switch ON
  6. Close Command Prompt
  7. Open Command Prompt - i.e. run cmd

Expected behavior

All properties of the terminal should be the same as before step 2. That is to say restoring the 'Use Legacy console' property in step 5 should restore the state of the terminal to what it was before the property was changed.

Actual behavior

After restoring the 'Use Legacy console' to OFF the terminal window is blank because the terminal colours have not been correctly restored to their previous state - both foreground and background are black. Similarly the cursor color is black rather than inverse colour.

Originally created by @wpqs on GitHub (Nov 4, 2019). # Environment https://github.com/microsoft/terminal/issues # Steps to reproduce 1. Open Command Prompt - i.e. run cmd 2. Open Properties | Options - remove check from 'Use Legacy console' - switch OFF 3. Close Command Prompt 4. Open Command Prompt - i.e. run cmd 5. Open Properties | Options - add check from 'Use Legacy console' - switch ON 6. Close Command Prompt 7. Open Command Prompt - i.e. run cmd # Expected behavior All properties of the terminal should be the same as before step 2. That is to say restoring the 'Use Legacy console' property in step 5 should restore the state of the terminal to what it was before the property was changed. # Actual behavior After restoring the 'Use Legacy console' to OFF the terminal window is blank because the terminal colours have not been correctly restored to their previous state - both foreground and background are black. Similarly the cursor color is black rather than inverse colour.
claunia added the Resolution-Duplicate label 2026-01-30 23:56:54 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Nov 4, 2019):

Hey so I think the bug you're describing is actually a couple things, both in more detail here: #2956. They're #2319, fixed by #2651, and also #2855 makes this scenario better as well.

These should all be arriving with the next feature update of Windows :)

/dup #2319

@zadjii-msft commented on GitHub (Nov 4, 2019): Hey so I think the bug you're describing is actually a couple things, both in more detail here: #2956. They're #2319, fixed by #2651, and also #2855 makes this scenario better as well. These should all be arriving with the next feature update of Windows :) /dup #2319
Author
Owner

@ghost commented on GitHub (Nov 4, 2019):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Nov 4, 2019): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#4800