Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: draw prompt on the correct line after window change
- X-seq: zsh-workers 44543
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- Subject: Re: PATCH: draw prompt on the correct line after window change
- Date: Mon, 15 Jul 2019 17:01:51 -0700
- Cc: Zsh hackers list <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=Ujr0eeDa2eEzSmH3hIo4GpUKYNKzsAmOh7m+cI7U8uA=; b=RhpuLgDAQG7uEVzKpD1ZBpPG8OiMr5hTEVSpPehWx5XhMm7Y1m/wInyTKQM6crPAci bozTJOpIcU/m+iqLslfoSdgel5FJHi9TYlm57ha4TVFIqtwyQ22BXWihhgmfme+3WgFM Gaz84n2inwjMVdzSrE2b8gH+7ossjBkfrOFwn4/8plqTLSSMAlKEHMhTQDUJ7D/8V2lh 1Pf/D6Sw91kHEOO91/UjUHIkdQ7HnK10PB5BRHN6KtshNxapj5s75Yn56NZcCqOGz4JC yE0OnYVC+3iFSsETyuNFwkkDSOuBCEJXidWti6GplPa8xwHVEBX3S/2Sfr3jlD9e6+3B BxjA==
- In-reply-to: <CAN=4vMr2VTtJ-8TXtMNkf2YN=1nekYneRr6EPTPg_gkc9w6dew@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=4vMp+E7esA48bEtRs-+Rmm9ng7i+FayGVqcLZqyjwVkayAw@mail.gmail.com> <CAH+w=7aLYK6jGcyg6t_FUKaMdzdQJOt7kCod=Ct8Fmjtd00KiQ@mail.gmail.com> <CAN=4vMr2VTtJ-8TXtMNkf2YN=1nekYneRr6EPTPg_gkc9w6dew@mail.gmail.com>
On Mon, Jul 15, 2019 at 3:09 PM Roman Perepelitsa
<roman.perepelitsa@xxxxxxxxx> wrote:
>
> This patch [is] only doing writes to the terminal without any reads.
> Whenever ZLE prints prompt, it issues TCSAVECURSOR
OK, then there is a different problem: Nothing prevents the prompt
itself from printing TCSAVECURSOR/TCRESTRCURSOR, and in fact some of
the themed prompts provided with zsh do that. There's no way for zsh
to guarantee that the cursorsaved flag is accurate.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author