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

Open
opened 2026-01-30 23:56:51 +00:00 by claunia · 0 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:51 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#4797