-
Notifications
You must be signed in to change notification settings - Fork 318
Closed
Labels
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues, especially the pinned issues.
Exception report
N/A
Screenshot
Environment data
PS Version: 7.2.0
PS HostName: ConsoleHost
PSReadLine Version: 2.1.0
PSReadLine EditMode: Vi
OS: Darwin Davids-M1-MacBook-Air.local 21.6.0 Darwin Kernel Version 21.6.0: Sun Nov 6 23:29:57 PST 2022; root:xnu-8020.240.14~1/RELEASE_ARM64_T8101 arm64
BufferWidth: 85
BufferHeight: 24
Steps to reproduce
Have in profile or type in cli the following
Set-PSReadlineOption -EditMode Vi
Set-PSReadlineOption -ViModeIndicator Cursor
Expected behavior
Cursor should change as Set-PSReadlineOption -ViModeIndicator Cursor
is being set.
The ViModeIndicator setting is not loaded initially on Vi mode until insert mode is escaped from and reentered. This applies to both the cursor option or a custom script like in #1233.
Actual behavior
No change to the cursor.