Console.CursorSize method does not work in terminal but works in conhost. #20538

Open
opened 2026-01-31 07:16:55 +00:00 by claunia · 0 comments
Owner

Originally created by @ghost on GitHub (Sep 25, 2023).

Windows Terminal version

1.17.11461.0

Windows build number

10.0.22621.2283

Other Software

No response

Steps to reproduce

  1. Compile the sample code at https://learn.microsoft.com/en-us/dotnet/api/system.console.cursorsize?view=net-7.0.

  2. Run under Terminal. Note that the cursor size remains what was set in the profile.

  3. Run under conhost.exe (the old cmd.exe). Note that the cursor size changes in response to changes to the CursorSize property.

Expected Behavior

I expected the cursor size to change in response to changes to the property as the documentation for CursorSize says nothing about the functionality being deprecated or impaired under Terminal.

Actual Behavior

The cursor size setting in the terminal profile remains constant and overrides any change to the CursorSize property.

Originally created by @ghost on GitHub (Sep 25, 2023). ### Windows Terminal version 1.17.11461.0 ### Windows build number 10.0.22621.2283 ### Other Software _No response_ ### Steps to reproduce 1. Compile the sample code at https://learn.microsoft.com/en-us/dotnet/api/system.console.cursorsize?view=net-7.0. 2. Run under Terminal. Note that the cursor size remains what was set in the profile. 3. Run under conhost.exe (the old cmd.exe). Note that the cursor size changes in response to changes to the CursorSize property. ### Expected Behavior I expected the cursor size to change in response to changes to the property as the documentation for CursorSize says nothing about the functionality being deprecated or impaired under Terminal. ### Actual Behavior The cursor size setting in the terminal profile remains constant and overrides any change to the CursorSize property.
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 07:16:55 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20538