Added Numpad Enter Support - bios.lua

Add the ability to use Numpad Enter and have it act just like normal Enter.
(Just like the web-based emulator on the Tweaked.cc wiki)
This commit is contained in:
TheWireLord 2020-12-12 16:45:02 -05:00
parent 5865e9c41a
commit b97e950d86
1 changed files with 2 additions and 2 deletions

View File

@ -338,8 +338,8 @@ function read(_sReplaceChar, _tHistory, _fnComplete, _sDefault)
redraw()
elseif sEvent == "key" then
if param == keys.enter then
-- Enter
if param == keys.enter or param == keys.numPadEnter then
-- Enter/Numpad Enter
if nCompletion then
clear()
uncomplete()