Closed JensGJ closed 3 months ago
@JensGJ do you have a screenshot if this?
Screendump of the error appearing (marked in yellow)
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).
No other reports so closing this for now.
This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.
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