default:
if ((key >= 0x20 && key <= 0x7e) || (key >= 0xa0 && key <= 0xff)) {
- if (!(en->flags & NEWT_FLAG_SCROLL) && en->bufUsed == co->width) {
+ if (!(en->flags & NEWT_FLAG_SCROLL) && en->bufUsed >= co->width) {
SLtt_beep();
break;
}
er.result = ER_SWALLOWED;
break;
default:
- if (isalpha(ev.u.key)) {
-
+ if (ev.u.key < NEWT_KEY_EXTRA_BASE && isalpha(ev.u.key)) {
for(i = 0, item = li->boxItems; item != NULL &&
i < li->currItem; i++, item = item->next);
Name: newt
%define version 0.40
Version: %{version}
-Release: 6
+Release: 7
Copyright: LGPL
Group: System Environment/Libraries
Source: ftp://ftp.redhat.com/pub/redhat/code/newt/newt-%{version}.tar.gz
%postun -p /sbin/ldconfig
%changelog
+* Mon Mar 15 1999 Matt Wilson <msw@redhat.com>
+- fix from Jakub Jelinek for listbox keypresses
+
* Fri Feb 27 1999 Matt Wilson <msw@redhat.com>
- fixed support for navigating listboxes with alphabetical keypresses