Subject: PR/37173 CVS commit: src/lib/libcurses
To: None <wiz@NetBSD.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,>
From: Julian Coleman <jdc@netbsd.org>
List: pkgsrc-bugs
Date: 12/08/2007 18:40:03
The following reply was made to PR pkg/37173; it has been noted by GNATS.

From: Julian Coleman <jdc@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/37173 CVS commit: src/lib/libcurses
Date: Sat,  8 Dec 2007 18:38:12 +0000 (UTC)

 Module Name:	src
 Committed By:	jdc
 Date:		Sat Dec  8 18:38:11 UTC 2007
 
 Modified Files:
 	src/lib/libcurses: curses_private.h get_wch.c getch.c screen.c
 
 Log Message:
 Keep pushed-back characters locally.  Fixes problems where KEY_* symbols
 are pushed back.  Should fix the arrow keys part of PR pkg/37173.
 
 While we are here, make getch() and get_wch() check for resize immediately,
 instead of reading a key, checking for resize and then having to push-back
 the just read key.
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.40 -r1.41 src/lib/libcurses/curses_private.h
 cvs rdiff -r1.4 -r1.5 src/lib/libcurses/get_wch.c
 cvs rdiff -r1.49 -r1.50 src/lib/libcurses/getch.c
 cvs rdiff -r1.20 -r1.21 src/lib/libcurses/screen.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.