Prerequisites
Exception report
Screenshot
N/A
Environment data
PS Version: 7.2.4
PS HostName: ConsoleHost (Windows Terminal)
PSReadLine Version: 2.2.5
PSReadLine EditMode: Vi
OS: 10.0.22621.1 (WinBuild.160101.0800)
BufferWidth: 120
BufferHeight: 30
Steps to reproduce
- With Vi mode activated, use
Set-PSReadLineOption -ViModeIndicator "Cursor"
- Since the console starts on Insert mode, press scape to change to Normal.
Expected behavior
Like using "pure" powershell: cursor starts as "classic" (Insert mode) and then goes to "block" (Normal mode).
Actual behavior
Cursor stays the same, though it goes left one position.
Note that I've a vertical bar as the WT cursor, but I changed it to "classic" to see what happens and it doesn't work either.