Closed FlorianLoch closed 8 months ago
@FlorianLoch which shell is this? PowerShell has a bug that does this. We set the prompt lines correctly, but on redraw they don't respect this somehow.
Oh, sorry for omitting this... It's zsh 5.9 running inside iterm2. I will update the template above too.
@FlorianLoch cool, I'll have a look at how to reproduce that there as well.
@FlorianLoch I can't reproduce this at all.
Something else on your zsh setup/machine is influencing this negatively.
Code of Conduct
What happened?
I am not quite sure this is an actual bug, it might also be related to my config - but I compared it to the documentation and did not spot an (obvious) issue.
I attached a video that show the problem: the transient prompt feature seems to not only remove the lines itself occupied, but also the line above this. So it cuts off the last line of the previous command's output.
https://github.com/JanDeDobbeleer/oh-my-posh/assets/5587805/8fe37d13-9a57-471d-9b16-26c340c6596a
Theme
What OS are you seeing the problem on?
macOS
Which shell are you using?
zsh 5.9
Log output