zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.stephenson@samsung.com>
To: Jonas Minnberg <sasq64@gmail.com>, zsh-workers@zsh.org
Subject: Re: Resize bug in 5.2 ?
Date: Fri, 15 Sep 2017 14:05:45 +0100	[thread overview]
Message-ID: <20170915140545.2bc252de@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <CAHVHyMgAo051Q3PXNg9TLmPK_DSF5SjYBQ29xakGfz9QcjzxJg@mail.gmail.com>

On Thu, 14 Sep 2017 07:49:56 +0000
Jonas Minnberg <sasq64@gmail.com> wrote:
> I had an issue where resizing zsh would sometimes cause garbage characters
> to be sent, at least if there was an "active" prompt set up (showed up
> mostly with Powerline).
> 
> I later noticed that the bug seems to have been fixed for 5.3, it's just
> unfortunate that 5.2 is still the default version installed on OSX.
> 
> I just wonder if someone could confirm that there was such a bug? And if
> there is a workaround for terminal emulator implementations?

If it's this bug:

http://www.zsh.org/mla/workers/2016/msg00711.html

(officially mailing list entry number 38190) then it was fixed by this.

2016-03-20  Barton E. Schaefer  <schaefer@zsh.org>

	* 38191: Src/Zle/zle_main.c: in reexpandprompt(), do not free global
	pointers until after promptexpand() in case they are referenced from
	signal handlers, and do additional re-entrancy checks in case of
	window size changes during promptexpand().

which is git commit 21202e7b95.

If so, you can probably work around it by simplfying the prompt
appropriately or not using signal handlers.

That's the nearest I could see.

pws


      reply	other threads:[~2017-09-15 13:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20170914075052epcas2p26843153ea0b1d1198259864e830f38ac@epcas2p2.samsung.com>
2017-09-14  7:49 ` Jonas Minnberg
2017-09-15 13:05   ` Peter Stephenson [this message]

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=20170915140545.2bc252de@pwslap01u.europe.root.pri \
    --to=p.stephenson@samsung.com \
    --cc=sasq64@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).