Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: several bug fixes in countprompt



On Wed, Jun 19, 2019 at 4:58 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> Sounds as though we should either:
> -- document that using a tab character in your prompt is not advisable, or
> -- always convert tabs to spaces before emitting the prompt

I like both of these. That is, really do both. Right now, in addition
to making unjustified assumptions about how tabs overflow, ZSH also
assumes that tab stops are set every 8 columns (this is usually true
but not always). RPROMPT breaks when it includes tabs, too.

Roman.



Messages sorted by: Reverse Date, Date, Thread, Author