From: Bart Schaefer <schaefer@brasslantern.com>
To: Roman Perepelitsa <roman.perepelitsa@gmail.com>
Cc: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: PATCH: draw prompt on the correct line after window change
Date: Mon, 15 Jul 2019 17:01:51 -0700 [thread overview]
Message-ID: <CAH+w=7bwo-hkT4ftRe3-4UFk07FfKfnpi+8O2k_UtzcNgvt+5g@mail.gmail.com> (raw)
In-Reply-To: <CAN=4vMr2VTtJ-8TXtMNkf2YN=1nekYneRr6EPTPg_gkc9w6dew@mail.gmail.com>
On Mon, Jul 15, 2019 at 3:09 PM Roman Perepelitsa
<roman.perepelitsa@gmail.com> 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.
next prev parent reply other threads:[~2019-07-16 0:02 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-15 17:20 Roman Perepelitsa
2019-07-15 19:14 ` Mikael Magnusson
2019-07-15 19:32 ` Roman Perepelitsa
2019-07-15 19:41 ` Roman Perepelitsa
2019-07-15 21:24 ` Bart Schaefer
2019-07-15 22:09 ` Roman Perepelitsa
2019-07-15 22:11 ` Roman Perepelitsa
2019-07-15 23:28 ` Bart Schaefer
2019-07-16 8:16 ` Roman Perepelitsa
2019-07-16 0:01 ` Bart Schaefer [this message]
2020-01-06 17:50 ` Sebastian Gniazdowski
2020-01-06 18:07 ` Roman Perepelitsa
2020-01-06 18:31 ` Sebastian Gniazdowski
2020-01-06 18:46 ` Roman Perepelitsa
2020-01-06 19:02 ` Sebastian Gniazdowski
2020-01-06 19:28 ` Bart Schaefer
2020-01-06 19:38 ` Roman Perepelitsa
2020-02-01 17:22 ` Roman Perepelitsa
2020-01-06 19:40 ` Sebastian Gniazdowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAH+w=7bwo-hkT4ftRe3-4UFk07FfKfnpi+8O2k_UtzcNgvt+5g@mail.gmail.com' \
--to=schaefer@brasslantern.com \
--cc=roman.perepelitsa@gmail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).