You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A simple bug that has existed for more than ten years for Cursor Shapes #12496
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-ExternalThe issue is caused by external component(s).
powershell title bar right click -> properties -> select cusor shape other than legacy style
Expected behavior
**cursor shapes**- Legacy Style
- Underscore
- Vertical Bar
- Empty Box
- Solid Box
The above cursor shapes can be switched at will.
Actual behavior
only legacy style is valid
Environment data
System environment : win7 or win8 or win10
**powershell 1.0,2.0 ......7.0 and 7.1.0-preview.2 All of the above versions have this problem.**
Name Value
---------
PSVersion 7.1.0-preview.2
PSEdition Core
GitCommitId 7.1.0-preview.2
OS Microsoft Windows 10.0.19041
Platform Win32NT
PSCompatibleVersions {1.0,2.0,3.0,4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Please follow the issue template when creating issues, so that we can understand and reproduce your problem, and know what versions / platforms it applies to.
Reacted by Rain Sallow (/u/ta11ow), Michael Klement and ch1220
For anyone still hitting this in 2026 on conhost with PowerShell 5.1 or 7.x,
I patched the PSReadLine 2.4.5 DLL directly to fix this by re-emitting
the ANSI cursor sequence in ReallyRender() after CursorVisible is restored.
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-ExternalThe issue is caused by external component(s).
Activity
mklement0 commentedon Apr 26, 2020
Please follow the issue template when creating issues, so that we can understand and reproduce your problem, and know what versions / platforms it applies to.
fMichaleczek commentedon Apr 26, 2020
This issue is related to PSReadline :
PowerShell/PSReadLine#903
The bug is external, it's resolved in the Terminal Repository :
microsoft/terminal#4124
ch1220 commentedon Apr 27, 2020
fMichaleczek commentedon Apr 27, 2020
ch1220 I gave you the answer, you should closed. If you have more questions, ask Microsoft/Terminal.
8192bits commentedon Mar 19, 2026
For anyone still hitting this in 2026 on conhost with PowerShell 5.1 or 7.x,
I patched the PSReadLine 2.4.5 DLL directly to fix this by re-emitting
the ANSI cursor sequence in ReallyRender() after CursorVisible is restored.
CursorShape
No recompilation needed. drop the DLL, set up $PROFILE, done.
Providing persistent cursor shape.
Feedback welcome.