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

Re: Bug report



On Sat, 14 Dec 2013 17:15:13 -0800
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> Cursor is now one full space to the right of the "_".  So whatever moves
> the cursor "back" to PS1 after drawing RPS1 still calculates as if the
> right-indent is always 1.  If I set ZLE_RPROMPT_INDENT to a value larger
> than the number of characters in $PS1 but smaller than $COLUMNS, the
> cursor actually moves up to the line above, which I can't really show
> with cut-and-paste.
> 
> It appears that if you want to make this offset different from 1, you
> are going to have to change countprompt() to include the offset in the
> width of the prompt rather than just fiddle with math in the output code.

I guess this is Patrick's fix to vcs?

pws



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