Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Incorrect cursor position when ZLE_RPROMPT_INDENT=0 (with a fix)
- X-seq: zsh-workers 44342
- From: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- To: Charles Blake <charlechaud@xxxxxxxxx>
- Subject: Re: Incorrect cursor position when ZLE_RPROMPT_INDENT=0 (with a fix)
- Date: Mon, 20 May 2019 15:16:19 +0200
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1qPqIt1m8HevtQwKmA+46Pec1XIS+/JACscnvvYvX8I=; b=NP4aW5uM83g1dMyjL3mrS1PsfgXVdbRNRwyoSoSEaiFHu9WpLbLrkMtIh+oR5hMXPM XNKl8mWT++AxHtZVKfIJmpC0hfaDhjzxmq6jFMMIIuuUBl2e25HE26E2Ofe6sdrRbJ0D eDCtrrguvgHMlhxJ7pi9K0lytNZBmlu6sKg6AJrJaPebtXFCYSJD9VI02w+U5oRIJzmG koTM7kztZ7N3jBbwbrmlUr5+n8qSa70ZAutXpe4s4lFP4QMlxNByMqWrBh2LWwR3RMu5 PvG9OwpIwmmeAuj6ViP/e65HiuNx4xDGhE8qWyiN81HxN6x1nEuA7GfJ+9oXiS/swfAC gJiQ==
- In-reply-to: <CAKiz1a8ZKX2JDwRsAEgHq-W9w4_A-8J6as57p7aa=jjR+tmgzA@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAN=4vMpx_B5TRNQzDAvBoTFszoKea2=uQr5xjd0vZVH6py+oVA@mail.gmail.com> <CAH+w=7bYdLornMBJmjE_RHgiRcywT05FXkOQdSapZHkdT30X0A@mail.gmail.com> <CAN=4vMozz41wH3=ZOoe=tAx70bXnD1ieZFScY7Zauby-33UcXw@mail.gmail.com> <CAN=4vMpWA+2zeRjthq4aeXyb7AAc40BpfEz8O0Uaj23a1O_F6Q@mail.gmail.com> <CAN=4vMqaGT+baaxJsGS1TC9Y9EER3_sRiQn-AM2LkQ=cVp=1Dw@mail.gmail.com> <CAH+w=7buWyujVw-PqWuB40ywQ5BrePrTYWdkkB1Q6RSwuVeG8A@mail.gmail.com> <CAN=4vMr46PsxS-+gDSBU=mGeGMLtWsRxTp9wMAB87qL12serNQ@mail.gmail.com> <68081d8c-1aa6-203b-eb6c-e2d048de1340@ibr.cs.tu-bs.de> <CAN=4vMo9oZ19n5kwNiNDjSHQAnNJHXRBPSfZstN7QOvXgN3WrQ@mail.gmail.com> <CAKiz1a8wkSkCz6snNrQRdS3npNkMdC-yUgL7SKnKwHL_RZVSdg@mail.gmail.com> <CAN=4vMo9uK1BPqwAF=i7pEbOVuhhSWxVXi75Wb-pMjo9rvkRtQ@mail.gmail.com> <CAKiz1a8ZKX2JDwRsAEgHq-W9w4_A-8J6as57p7aa=jjR+tmgzA@mail.gmail.com>
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