[Bashburn-info] Pressing any key in menu balks
Brought to you by:
bashburn
|
From: Nick W. <ni...@uk...> - 2008-08-30 13:00:46
|
I just put a quick fix up for just pressing a lonesome [ENTER] in the menus - but I have just found out this still buggers up if you press ANY key, as it will always select menu item 0 (or the first on the list). if (( selection >= 0 && selection < size )) is always 0, I guess. I guess we need a regex here to detect if a digit was typed in? I can see no other way, unless Steve can do his magic. Nick -- Free Software Foundation Associate Member 5508 |