Fix lua prompt and add arrow key support

This commit is contained in:
Ryan T
2026-02-16 20:37:13 -05:00
parent ecef2c6cb0
commit 371954373e
5 changed files with 220 additions and 51 deletions

View File

@@ -107,7 +107,11 @@ local ok, err = xpcall(function()
local acekeys={
[apis.keys.enter]="\n",
[apis.keys.tab]="\t",
[apis.keys.backspace]="\b"
[apis.keys.backspace]="\b",
[apis.keys.up]="\17",
[apis.keys.down]="\18",
[apis.keys.left]="\19",
[apis.keys.right]="\20",
}
function sleep(time)