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
Multi-line prompt incorrectly displayes the last line with PSReadLine #470
Jason Shirk (@lzybkr) Hi, I am sorry, but I think we have regressed with this issue in 2.0.0-Beta1. I have recently upgraded to 2.0.0-Beta1 to fix broken multi-line prompt after console layout #633, and while that one is fixes, it seems that Set-PSReadlineOption -ExtraPromptLineCount 1 no longer works - I also tested latest AppVeyor build. Reverting back to 1.2, makes Ctrl+L properly clear the prompt.
Can we please re-open?
I have a two line (ANSI) prompt string and yeah, I wound up commenting out the line in my profile that was setting Set-PSReadlineOption -ExtraPromptLineCount 1. The prompt worked better after that.
Activity
lzybkr commentedon Nov 9, 2016
From sergei (@vors) on July 27, 2016 6:45
Also,
Set-PSReadlineOption -ExtraPromptLineCount 3behaves weirdly, could be relatedlzybkr commentedon Nov 9, 2016
From sergei (@vors) on July 27, 2016 6:47
I verified, problem doesn't repro, if I remove PSReadLine.
lzybkr commentedon Oct 17, 2017
I believe this is fixed in #561.
I'll publish a pre-release version to the PowerShell Gallery as soon as they support pre-releases.
If you'd like to try a fix before that, you can build the lastest yourself from the master branch, or
grab a build from AppVeyor like this one.
Note the version number is now 2.0, so be sure to copy the contents to \PSReadLine\2.0.
vors commentedon Oct 23, 2017
Trying to deploy the linked zip file on macOS and https://github.com/PowerShell/Microsoft.PowerShell.Archive/issues/11 shows its head again
vors commentedon Oct 23, 2017
Verified that this is fixed, thank you Jason Shirk (@lzybkr) !
lzybkr commentedon Nov 4, 2017
I'll have an official prerelease build out next week if you want to verify this is fixed, otherwise you can grab a build out of appveyor here.
nanoant commentedon Feb 16, 2018
Jason Shirk (@lzybkr) Hi, I am sorry, but I think we have regressed with this issue in
2.0.0-Beta1. I have recently upgraded to2.0.0-Beta1to fix broken multi-line prompt after console layout #633, and while that one is fixes, it seems thatSet-PSReadlineOption -ExtraPromptLineCount 1no longer works - I also tested latest AppVeyor build. Reverting back to 1.2, makes Ctrl+L properly clear the prompt.Can we please re-open?
rkeithhill commentedon Feb 16, 2018
I have a two line (ANSI) prompt string and yeah, I wound up commenting out the line in my profile that was setting
Set-PSReadlineOption -ExtraPromptLineCount 1. The prompt worked better after that.lzybkr commentedon Feb 16, 2018
Please open a new issue - this one was more general.
I'm a little surprised I didn't notice, I added the option for myself and I do use
Ctrl+L.