[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ncurses-bug
Subject:    Re: getch() in nodelay mode returns KEY_RESIZE too late
From:       Clemens Ladisch <clemens () ladisch ! de>
Date:       2009-06-18 7:10:04
Message-ID: 4A39E84C.9040703 () ladisch ! de
[Download RAW message or body]

Thomas Dickey wrote:
> On Mon, Jun 08, 2009 at 02:39:00PM +0200, Clemens Ladisch wrote:
> > When the following program is run and its console window is resized, the
> > first following getch() call returns ERR instead of KEY_RESIZE.  That
> > KEY_RESIZE is returned only after the refresh() call, i.e., when a key
> > is pressed or when the window is resized a second time.
> 
> I don't see that error (looking at a debug-trace, attached).

Sorry, it turns out my description was misleading.  The error does not
show in the very first call of getch().  To reproduce, press some key
before resizing, or resize more than once.


Best regards,
Clemens


_______________________________________________
Bug-ncurses mailing list
Bug-ncurses@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-ncurses
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic