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
When using Write-Host to colorize the prompt (the only known method of colorizing the prompt in powershell), the prompt gets clobbered. This makes PSReadLine less able to emulate the goodness of bash and friends.
Possible hack: Allow a variable called $PromptLength (which the Prompt function is required to update) to communicate to PSReadline where the cursor position should be.
More principled fixes may also be possible.
The text was updated successfully, but these errors were encountered:
My prompt uses many colors and multiple lines w/o any problems.
You'll have to share your prompt function and repro steps (which I'm guessing is just to use bash style completion where the completion is ambiguous, but if not, let me know.)
When using Write-Host to colorize the prompt (the only known method of colorizing the prompt in powershell), the prompt gets clobbered. This makes PSReadLine less able to emulate the goodness of bash and friends.
Possible hack: Allow a variable called $PromptLength (which the Prompt function is required to update) to communicate to PSReadline where the cursor position should be.
More principled fixes may also be possible.
The text was updated successfully, but these errors were encountered: