From mboxrd@z Thu Jan 1 00:00:00 1970 From: henri.ducrocq@gmail.com (Henri Ducrocq) Date: Thu, 21 May 2009 02:31:16 +0100 Subject: [sup-talk] Handling window resizing In-Reply-To: <391beaa80905201334y4c1832adp161bb28d52f08e1@mail.gmail.com> References: <391beaa80905201334y4c1832adp161bb28d52f08e1@mail.gmail.com> Message-ID: <1242868891-sup-4321@ptoseis> Excerpts from Henri Ducrocq's message of Wed May 20 21:34:36 +0100 2009: > I'm using a tiling window manager and my windows get resized quite > frequently. However Sup isn't detecting these events and I have to press > Control-L to redraw the screen. 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? (Of course I'm secretly hoping you're gonna fix it yourself :) -- Henri