mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-07 19:45:07 +02:00
MdeModulePkg/TerminalDxe: Enhance the arrow keys support
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2219 First previous patch remove the VT100Plus's arrow keys' support. Add it back. The arrow keys would send ESC [A through to ESC [D. Add this support for the new introduced terminal type. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Ray Ni <ray.ni@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Zhichao Gao <zhichao.gao@intel.com> Reviewed-by: Ray Ni <ray.ni@intel.com>
This commit is contained in:
parent
6da405ebf6
commit
e86664d2b0
@ -1670,8 +1670,12 @@ UnicodeToEfiKey (
|
||||
|
||||
if (TerminalDevice->TerminalType == TerminalTypePcAnsi ||
|
||||
TerminalDevice->TerminalType == TerminalTypeVt100 ||
|
||||
TerminalDevice->TerminalType == TerminalTypeVtUtf8 ||
|
||||
TerminalDevice->TerminalType == TerminalTypeTtyTerm ||
|
||||
TerminalDevice->TerminalType == TerminalTypeVt100Plus ||
|
||||
TerminalDevice->TerminalType == TerminalTypeVtUtf8 ||
|
||||
TerminalDevice->TerminalType == TerminalTypeTtyTerm ||
|
||||
TerminalDevice->TerminalType == TerminalTypeLinux ||
|
||||
TerminalDevice->TerminalType == TerminalTypeXtermR6 ||
|
||||
TerminalDevice->TerminalType == TerminalTypeVt400 ||
|
||||
TerminalDevice->TerminalType == TerminalTypeSCO) {
|
||||
switch (UnicodeChar) {
|
||||
case 'A':
|
||||
|
Loading…
x
Reference in New Issue
Block a user