As can be seen in the screenshot in https://github.com/bhilburn/powerlevel9k/issues/418#issuecomment-283610740 there is a trailing space after the right segment.
At my machine it is even more apparent, as I use tmux with a right colored segment and then you really see the difference.
Is this something which can be fixed by a setting, or is this a bug?
Hi @edwardsmit !
I got good news and bad news for you. Good: yes, that is a bug (so its fixable) and a workaround exists. Bad news: it is a bug/feature of ZSH. See #110
In short: the bottom right corner is special in Terminal Emulators (sort explanation from 2007). This goes way back to the early years of ZSH. This discussion from the mailing list is a very interesting read on that topic.
The workaround is to set ZLE_RPROMPT_INDENT=0, BUT that has some trade offs (at least one): Tabbing will shift the cursor around (see #364 )
What a complete answer. Thanks for taking the time to write this. Other OSS supporters/creators/community runners can take an example from that. It's complete, to the point and light of tone. Too bad this issue looks impossible to fix...
Thanks Dominik,@dritter
Yeah, @dritter is a rock star.
Most helpful comment
Hi @edwardsmit !
I got good news and bad news for you. Good: yes, that is a bug (so its fixable) and a workaround exists. Bad news: it is a bug/feature of ZSH. See #110
In short: the bottom right corner is special in Terminal Emulators (sort explanation from 2007). This goes way back to the early years of ZSH. This discussion from the mailing list is a very interesting read on that topic.
The workaround is to set
ZLE_RPROMPT_INDENT=0, BUT that has some trade offs (at least one): Tabbing will shift the cursor around (see #364 )