From: Roman Perepelitsa <roman.perepelitsa@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Sebastian Gniazdowski <sgniazdowski@gmail.com>,
Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: PATCH: draw prompt on the correct line after window change
Date: Sat, 1 Feb 2020 18:22:08 +0100 [thread overview]
Message-ID: <CAN=4vMpAQkASWa1g60srrXj8EK3S_PZhb764yi-dYAqU9UquhQ@mail.gmail.com> (raw)
In-Reply-To: <CAN=4vMq_Vx8hb4uTNTXaUgiM0aHS0ZnC4-ZSe7XR6VPqqwuMDg@mail.gmail.com>
On Mon, Jan 6, 2020 at 8:38 PM Roman Perepelitsa
<roman.perepelitsa@gmail.com> wrote:
>
> On Mon, Jan 6, 2020 at 8:28 PM Bart Schaefer <schaefer@brasslantern.com> wrote:
> > IIR the problem correctly, a possible approach to resolve my concern would be to have the terminal report the cursor position for the shell to read+save it, rather than rely on the terminal save/restore action.
>
> I implemented this prior to the patch I sent. Unfortunately, this
> added enough prompt latency to make it noticeable.
I've implemented this again to verify that my recollection of the
reason I rejected this approach was correct. It was not. u7 is indeed
slow but the primary reason I abandoned it in the first implementation
is that it doesn't work here. The absolute position of prompt start
changes when terminal content gets reflown upon resize.
After a few more issues filed against powerlevel10k due to the
resizing bug, I wrote this troubleshooting entry:
https://github.com/romkatv/powerlevel10k/blob/master/README.md#horrific-mess-when-resizing-terminal-window.
Perhaps it'll help others who stumble on this.
Roman.
next prev parent reply other threads:[~2020-02-01 17:23 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
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 [this message]
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='CAN=4vMpAQkASWa1g60srrXj8EK3S_PZhb764yi-dYAqU9UquhQ@mail.gmail.com' \
--to=roman.perepelitsa@gmail.com \
--cc=schaefer@brasslantern.com \
--cc=sgniazdowski@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).