Powerlevel9k: Trailing space after right-hand prompt.

Created on 2 Mar 2017  Â·  3Comments  Â·  Source: Powerlevel9k/powerlevel9k

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?

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 )

All 3 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

OATOMO picture OATOMO  Â·  4Comments

worldofpeace picture worldofpeace  Â·  6Comments

iiison picture iiison  Â·  3Comments

mingrammer picture mingrammer  Â·  4Comments

jpdoria picture jpdoria  Â·  5Comments