v0.8.2 - Added arrow keys to navigate shell history as well as a blinking cursor which you cannot yet move.

This commit is contained in:
TheWahlolly
2025-04-27 21:16:50 +03:00
parent f478048976
commit 64a6a26404
4 changed files with 55 additions and 6 deletions
+1 -1
View File
@@ -90,6 +90,6 @@ while true do
print(shellcfg["prompt"]:format(shell.workingDirectory),false)
-- termlib.cursorPosX = #(shell.workingDirectory .. " > ")
-- termlib.cursorPosY = termlib.cursorPosY - 1
local shellCommand = read()
local shellCommand = read("shell")
shell.run(shellCommand)
end