audk/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit
Ruiyu Ni 58793b8838 ShellPkg/[hex]edit: Fix mouse freeze issue
In edit or hexedit, the mouse cursor doesn't move when moving
the mouse.
The root cause is 5563281fa2
* ShellPkg/[hex]edit: use SimpleTextInEx to read console
wrongly uses WaitForEvent() to listen keyboard input.
It blocks the code execution when there is no keyboard input.
While the same function also polls the mouse move status,
the mouse movement cannot be reflected to the screen when
there is no keyboard input.

The patch fixes the issue by use CheckEvent() instead of
WaitForEvent().

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
2018-03-14 11:25:44 +08:00
..
Edit.c
FileBuffer.c
FileBuffer.h
MainTextEditor.c ShellPkg/[hex]edit: Fix mouse freeze issue 2018-03-14 11:25:44 +08:00
MainTextEditor.h
Misc.c
Misc.h
TextEditStrings.uni
TextEditor.h
TextEditorTypes.h ShellPkg/[hex]edit: use SimpleTextInEx to read console 2018-02-13 10:54:45 +08:00