Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: draw prompt on the correct line after window change



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