1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-13 11:40:29 +00:00

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

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()