Closed alexgorbatchev closed 1 month ago
This looks to be related to nested shells. If I run a subshell zsh
, i get the same results as in neovim, which makes sense. I dont think it's a neovim problem but rather nested shell.
@alexgorbatchev zsh uses a native rprompt
, we don't add any padding for that shell. So theoretically, this issue has nothing to do with oh-my-posh.
Same for vim in windows powershell
I'm not certain if this can be fixed, we calculate the width based on what the shell can tell us. If that one's incorrect or unavailable, no chance we're able to resolve this. That's also why zsh
itself can't position this correctly most likely.
@UndefBhvr @alexgorbatchev can't reproduce this, make sure everything is up-to-date. If PowerShell can correctly display, so should zsh.
@alexgorbatchev same for linux:
I ended up moving right aligned segments to own lines away from the prompt line, which fixes the issue for
@alexgorbatchev the weird thing is, zsh has a native right prompt. We don't do any positioning, they do.
Code of Conduct
What happened?
I'm seeing two issues inside nvim terminal:
Same config in regular terminal:
Theme