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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user