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 running Powershell/Windows Terminal as administrator sometimes the Root icon that is normally displayed to the left as the beginning of the second line (right below the powerline) is shifted to the right so it appears to the right of the powerline above (but still on a new line).
I have not been able to identify a specific command that makes the error occur. The last time the shift occured after a simple "dir" command (trying to add a screen dump but it doesn't work right now)
The input cursor is still placed right after the root icon.
If I start a new admin shell everything works fine. But the open shell showing the erroneous display of the root icon stays that way until it is closed.
I did a comparison of the debug output in the error window compared to a fresh window. They are side by side in the screenshot here. I have highlighted the difference I can find - which is a call to TemplateCache. I don't know if is makes sense or is the actual cause of the difference in display.
@JensGJ I can see the issue but I'm unable to reproduce. There's no logic in oh-my-posh as well that could do this. As in, we print a newline, but never pad the left prompt (and definitely not as flaky as this).
Code of Conduct
What happened?
When running Powershell/Windows Terminal as administrator sometimes the Root icon that is normally displayed to the left as the beginning of the second line (right below the powerline) is shifted to the right so it appears to the right of the powerline above (but still on a new line).
I have not been able to identify a specific command that makes the error occur. The last time the shift occured after a simple "dir" command (trying to add a screen dump but it doesn't work right now)
The input cursor is still placed right after the root icon.
If I start a new admin shell everything works fine. But the open shell showing the erroneous display of the root icon stays that way until it is closed.
Theme
What OS are you seeing the problem on?
Windows
Which shell are you using?
powershell
Log output
The text was updated successfully, but these errors were encountered: