Re: [edk2] Problems with gets() and arrow keys

2012-07-25 Thread Mcdaniel, Daryl
__ From: Tim Lewis [mailto:tim.le...@insydesw.com] Sent: Wednesday, July 25, 2012 5:10 PM To: edk2-devel@lists.sourceforge.net Cc: 'Shannon Lewis (srle...@uci.edu)' Subject: [edk2] Problems with gets() and arrow keys If you use gets() and enter any of the arrow keys, you will get in

[edk2] Problems with gets() and arrow keys

2012-07-25 Thread Tim Lewis
If you use gets() and enter any of the arrow keys, you will get into a hang condition. The root cause appears to be in da_ConRead, in daConsole.c. Arrow keys (and various others listed in table 88 of the UEFI specification) return ScanCode != 0 and UnicodeChar == 0 (except ESC, which I'll mentio