]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg: Fix the incorrect behavior when pressing 'shift' key.
authorPedroa Liu <pedroa.liu@insyde.com>
Mon, 16 May 2016 12:48:41 +0000 (20:48 +0800)
committerQiu Shumin <shumin.qiu@intel.com>
Wed, 18 May 2016 01:41:29 +0000 (09:41 +0800)
commitb8f3601daae5c8b50ca6f7da74bb150f2eef9453
tree047ef79c2bd699bb4ea30b9e7b7dda298bf9eaed
parentc28d2e1047816164ffec552e4a3375122cbcc6b6
ShellPkg: Fix the incorrect behavior when pressing 'shift' key.

If 'ReadKeyStroke' function return EFI_NOT_READY then skip it.
If the return value is EFI_DEVICE_ERROR clean the currentString buffer.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Pedroa Liu <pedroa.liu@insyde.com>
Reviewed-by: Qiu Shumin <shumin.qiu@intel.com>
ShellPkg/Application/Shell/FileHandleWrappers.c