ConEmu
ConEmu copied to clipboard
Buffer problem with Microsoft.PowerShell.Pager
Versions
ConEmu build: 220418 x64 OS version: Windows 10 x64 Used shell version (powershell): 7.2.2 + PSReadLine 2.2.2
Problem description
The 2.2.x versions of PSReadLine add a F1 key based help system which uses Microsoft.PowerShell.Pager v1.0.0 in the background. Once you leave the help system, the screen buffer is messed up.
Steps to reproduce
- Install PowerShell 7.2.2
- Install PSReadLine 2.2 via Install-Module PSReadLine -Force
- Configure ConEmu to use pwsh
- Open a ConEmu tab with pwsh
- Fill the window with enough content so that more than a screen is filled (scrollbar needed)
- Type a command with a parameter and hit F1 (e.g. Get-Process -Name)
- Go up and down in the help with the arrow keys and leave the help with Q
Actual results
The screen is now empty and scrolling up and down also only shows empty content.
Expected results
Anything is shown and behaves like the F1 press and help view never happened.
It works on the plain console and in windows terminal, but not in ConEmu.
If anything more to reproduce is needed, just ask.