Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ctrl+l with powershell in quake mode clears the first prompt line as well #879

Closed
spooky opened this issue Mar 10, 2016 · 2 comments
Closed

Comments

@spooky
Copy link

spooky commented Mar 10, 2016

When pressing ctrl+l to clear the output while using powershell, the first prompt line is cleared as well, so the only visible thing left is the lambda sign and the current path is not visible. This behavior is not visible when using cmd instead of powershell.

@MartiUK
Copy link
Member

MartiUK commented Mar 10, 2016

I see the problem, fix on the way.

After a quick check, I don't think we provide PsReadline with cmder anymore, so I assume you are using an older version. Either way if you are using psreadline you can use the fix below.

Try adding this to your profile.ps1 file in vendor: Set-PSReadlineOption -ExtraPromptLineCount 1

MartiUK added a commit that referenced this issue Mar 10, 2016
If user has PSReadline and is using it be sure to clear 1 less line to prevent the directory prompt from being cleared.

Fixes #879
@spooky
Copy link
Author

spooky commented Mar 12, 2016

Worked like a charm. Thanks.

@MartiUK MartiUK closed this as completed Mar 14, 2016
sonictk pushed a commit to sonictk/cmder that referenced this issue May 21, 2016
If user has PSReadline and is using it be sure to clear 1 less line to prevent the directory prompt from being cleared.

Fixes cmderdev#879
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants