zsh-workers
 help / color / mirror / code / Atom feed
From: Andrew Janke <floss@apjanke.net>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: zcurses input timeout and window resizing
Date: Wed, 30 Sep 2015 06:49:17 -0400	[thread overview]
Message-ID: <560BBE2D.6000701@apjanke.net> (raw)
In-Reply-To: <560BAE3B.5050409@apjanke.net>

On 9/30/15 5:41 AM, Andrew Janke wrote:
> I'm running in to an issue with the interaction between "zcurses 
> timeout"/"zcurses input" and terminal window resizing. On OS X, it 
> seems that if you resize a window while waiting on a "zcurses input", 
> the timeout will effectively be ignored, and "zcurses input" will 
> block until actual input is received.

> Any known workarounds to this? Maybe it's dependent on the version of 
> curses? My OS X zsh is linked against libncurses.5.4.dylib; the Debian 
> one against libncursesw.so.5.
>
> The "tetriscurses" example program seems to stay live through window 
> sizes on the same OS X system, and I can't figure out what it's doing 
> differently to keep the timeout working through window resizes.
Think I partially answered my own question here: I rebuilt a zsh 5.1.1 
against ncurses 6.0 on OS X, and on that one, the timeouts work through 
window resizes. Still curious how tetriscurses seems to work even with 
ncurses 5.4.

Andrew


  reply	other threads:[~2015-09-30 10:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-30  9:41 Andrew Janke
2015-09-30 10:49 ` Andrew Janke [this message]
2015-09-30 13:34 ` Jun T.
2015-09-30 16:41   ` Andrew Janke

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=560BBE2D.6000701@apjanke.net \
    --to=floss@apjanke.net \
    --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).