Skip to content

Bug Report: Cursor Shape setting is not persistent and reverts to legacy style #1145

Closed
@fgimian

Description

@fgimian

Environment

Microsoft Windows [Version 10.0.18362.116]

Steps to reproduce

  1. Right click on a console window and select Properties / Terminal
  2. Set the Cursor Shape to anything other than "Use Legacy Style"
  3. Notice that the cursor shows up correctly but after hitting enter and typing a few characters, it returns to the default style
  4. Repeat step 1 and notice that your setting has been reverted

Expected behavior

The new cursor shape should continue to work in the terminal and stay ticked in Properties.

Actual behavior

Step by step screenshots:

We start with a normal PowerShell window:

image

Change cursor to vertical:

image

Vertical cursor shows up, yay:

image

Hit Enter and type some text, then notice the cursor changes back to the default:

image

Popping back into Properties reveals our selection has been reverted too;

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-SettingsIssues related to settings and customizability, for console or terminalIssue-BugIt either shouldn't be doing this or needs an investigation.Product-PowershellIssues in the modern command interpreter, Powershell.exe.Resolution-ExternalFor issues that are outside this codebase

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions