Reformatted excerpts from Henri Ducrocq's message of 2009-05-20:
> I tried to do it myself, first by checking for Ncurses::KEY_RESIZE in
> nonblocking_getch in buffer.rb (couldn't work because of the
> IO.select), then slightly less unsuccessfully by catching the WINCH
> event, but it looks like the signal isn't emitted in a completely
> consistent manner every time I resize the window.
> 
> Any advice William?

Sadly no. There have been various attempts, by myself and others to trap
sigwinch (see e.g.
http://www.nabble.com/The-recent-patch-"redraw-screen-upon-sigwinch"-td22662878.html
which is referencing commit 9bc61b52f1a4fb3492e3799240815ed0c2a7b67f)
and to handle Ncurses::KEY_RESIZE, but something always seems screwey.

A free copy of Sup to anyone who figures this out.
-- 
William <[email protected]>
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk

Reply via email to