bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getch() in nodelay mode returns KEY_RESIZE too late


From: Clemens Ladisch
Subject: Re: getch() in nodelay mode returns KEY_RESIZE too late
Date: Thu, 18 Jun 2009 09:10:04 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]