[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:       Thomas Dickey <dickey () his ! com>
Date:       2009-08-11 20:56:01
Message-ID: 20090811205601.GB5042 () invisible-island ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Tue, Aug 11, 2009 at 12:47:58PM +0200, Clemens Ladisch wrote:
> Clemens Ladisch wrote:
> > 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.
> 
> This is fixed by the patch below.

thanks (I don't see a problem with that, just reading it).

-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net

["signature.asc" (application/pgp-signature)]

_______________________________________________
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