zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: "Zsh Hackers' List" <zsh-workers@zsh.org>
Subject: Re: Prompt redrawing issues with wrapped prompt on SIGWINCH
Date: Sat, 18 Apr 2015 16:00:30 -0700	[thread overview]
Message-ID: <150418160030.ZM12945@torch.brasslantern.com> (raw)
In-Reply-To: <5532CCE2.1000309@thequod.de>

On Apr 18, 11:30pm, Daniel Hahler wrote:
}
} > Doesn't happen to me with xterm, but it sends multiple SIGWINCH rather
} > than wait for the final size of the window.
} 
} In xterm I only see a single SIGWINCH (via TRAPWINCH).

Must be window-manager dependent, then.

} > } SIGWINCH before reflowing/rewrapping the text, or something similar?
} 
} Could it emit/forward the signal, and only redraw after it has been
} processed by the shell?
} Or would the shell have to answer / re-emit the signal for this to work?

The shell and the emulator would have to deliberately synchronize
somehow, yes.  Since the shell generally doesn't have any connection
to the emulator (only to the pseudo-terminal device they share), this
would not be straightforward.

} I am using zsh from git master, 5.0.7-dev-1 (@2e48eceb).

Hm.  I don't have any explanation, then.


      reply	other threads:[~2015-04-18 23:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-17 22:56 Daniel Hahler
2015-04-18  3:43 ` Mikael Magnusson
2015-04-18 15:57   ` Bart Schaefer
2015-04-18 17:04     ` Daniel Hahler
2015-04-18 17:21       ` Bart Schaefer
2015-04-18 21:30         ` Daniel Hahler
2015-04-18 23:00           ` Bart Schaefer [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=150418160030.ZM12945@torch.brasslantern.com \
    --to=schaefer@brasslantern.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).