Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zcurses input timeout and window resizing
- X-seq: zsh-workers 36713
- From: Andrew Janke <floss@xxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: zcurses input timeout and window resizing
- Date: Wed, 30 Sep 2015 06:49:17 -0400
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=L1bY36WEJBOdGb4 MwX5LVe9gW3M=; b=CZsur75qJViGtWJlMzYJWsiSeoTHzhcqKTVWigThct3Ovaa FOb0xNfQFDkUmNf8ZSABl3oi+b1TMu3gWT/z6k47yf3EPT3m7aUuv9rWkeJwZX44 CaspGuJbaYowJgFjFvs9rky0gQ+ji2sOQNPgZDmRBc9x4dtC4Xl0RD9NNtmg=
- In-reply-to: <560BAE3B.5050409@apjanke.net>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author