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: Thomas Dickey
Subject: Re: getch() in nodelay mode returns KEY_RESIZE too late
Date: Tue, 11 Aug 2009 16:56:01 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

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 <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


reply via email to

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