* Receiving SIGWINCH while waiting for user input
@ 2019-12-24 22:20 zsugabubus
0 siblings, 0 replies; only message in thread
From: zsugabubus @ 2019-12-24 22:20 UTC (permalink / raw)
To: zsh-users
Hi,
I'm writing an interactive script using `zcurses`, but I got stuck
receiving SIGWINCH while waiting for user input. I tried `read`,
`zcurses input`, `sysread` and `zselect` (waiting for stdin then read)
but all blocks SIGWINCH. I also tried `vared`, but couldn't read just
one character at a time.
Is there a way I can achieve it? Handling resize only after a command
has been entered doesn't seem a nice solution.
Thanks,
zsugabubus
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-12-24 22:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-24 22:20 Receiving SIGWINCH while waiting for user input zsugabubus
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).