in reply to Handling curses window resizes with Curses.pm

use sleep or usleep instead of yield
  • Comment on Re: Handling curses window resizes with Curses.pm

Replies are listed 'Best First'.
Re^2: Handling curses window resizes with Curses.pm
by Llew_Llaw_Gyffes (Scribe) on Sep 14, 2016 at 13:46 UTC
    Tried using threads->sleep in the KEY_RESIZE handler, did not help. I'm still not receiving KEY_RESIZE events. Only horizontal resize is working properly, and it is working without me doing anything. Vertical resize does not work at all, either automatically or if I try to trap either KEY_RESIZE or SIGWINCH.