Open
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
N/A
Environment data
PS Version: 7.3.3
PS HostName: ConsoleHost
PSReadLine Version: 2.2.6
PSReadLine EditMode: Windows
OS: 10.0.22621.1 (WinBuild.160101.0800)
BufferWidth: 120
BufferHeight: 9001
Steps to reproduce
Steps to reproduce
- Open PowerShell from any folder such that primary prompt is longer than one line.
- Enter any command and click enter.
- Maximize PowerShell window so primary prompt is arranged within one line.
- Cursor will be off-position and overwrite my primary prompt.
- This issue will not appear when PSReadLine is disabled
Video attached below:
With PSReadLine enabled:
Recording.2023-03-27.095155.mp4
Without PSReadLine enabled:
Recording.2023-03-27.095536.mp4
Similar issue has also been reported in #1269
Expected behavior
PS C:\Program Files\Windows Defender Advanced Threat Protection\Classification> ls
Actual behavior
PS C:\Program FilelsWindows Defender Advanced Threat Protection\Classification>
Please note the input 'ls' replaces my primary prompt.