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

Re: Incorrect cursor position when ZLE_RPROMPT_INDENT=0 (with a fix)



On Mon, May 20, 2019 at 2:41 PM Charles Blake <charlechaud@xxxxxxxxx> wrote:

> So, feel free to confirm yourself with xterm -rw or resource/default or
> menu setting of reverseWrap, but with your patch and reverseWrap enabled, I
> get incorrect behavior of a different sort.  The cursor is not left
> immediately after the 2, but there is an intervening blank space of exactly
> 1 character.  Flipping the menu item on/off and hitting enter in the shell
> to force a refresh toggles the misbehavior.
>

I cannot reproduce this with
https://github.com/romkatv/zsh/tree/rprompt-indent2 (note '2' at the end)
but I can reproduce this with
https://github.com/romkatv/zsh/tree/rprompt-indent. Is it possible that you
were testing with https://github.com/romkatv/zsh/tree/rprompt-indent? To
avoid the possibility of this confusion in the future I
merged rprompt-indent2 into rprompt-indent so that the two branches are now
identical.

Roman.

>


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