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 44330
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- Subject: Re: Incorrect cursor position when ZLE_RPROMPT_INDENT=0 (with a fix)
- Date: Sun, 19 May 2019 13:12:20 -0700
- Cc: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=f9k/KN9dVuGcYf/GwuC41l0vuQAucl4SdGy/qhfK29Q=; b=i0bmQBL+TvcrX8qkcGg/JQIn8LMhpRRqfpKHzT6tG5Z+0Cevcppx4ZItMQNxrCYyTe 75Y0QN9SJDmtTi3MVr6/SDbw7Z82CWvSRCpejb476KeQJI5BTQEsCOu+DHi7sdLHkcYu zjDG+NTEfuH0W/wHjkPz5MXtLpDPt9VF0EERBK6/M3P0Osh3OTK3twOpetcfsaY2GE86 NAyIEp6AGltMr3MJMulsreaV4AWzgJ/Xmm6cToWQXpZ4AZBw2wJiq00QiWIsKEWsBZJ+ UvcQaVhw+EuqIIG/gRNuanYsqc4YHjdKZZWwqhk/B1U/9rFButVmzsgQh1azOSEd1Oig dWCA==
- In-reply-to: <CAN=4vMqaGT+baaxJsGS1TC9Y9EER3_sRiQn-AM2LkQ=cVp=1Dw@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>
On Sun, May 19, 2019 at 11:51 AM Roman Perepelitsa
<roman.perepelitsa@xxxxxxxxx> wrote:
>
> I've tested my patch on two more terminals: Dumb Linux terminal (TERM=linux) and Command Prompt with WSL. On both of them ZSH misbehaves without my patch and works correctly with it.
This is promising and the patch looks plausible, but I must ask: Have
you tested the case where the rprompt is printed on the final line of
the visible screen?
There are several terminals where auto-margin behaves differently when
characters (especially carriage returns) are printed at or to the
right of the margin in the bottom row vs. rows above that.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author