This commit is contained in:
kepler155c
2017-10-16 16:55:37 -04:00
parent c04ec356e5
commit a5c7fde530
4 changed files with 575 additions and 8 deletions

View File

@@ -26,7 +26,7 @@ if fs.exists(sPath) and fs.isDir(sPath) then
end
if multishell then
multishell.setTitle(multishell.getCurrent(), sPath)
multishell.setTitle(multishell.getCurrent(), fs.getName(sPath))
end
local x, y = 1, 1
@@ -1093,12 +1093,6 @@ local __actions = {
actions = __actions
-- Actual program functionality begins
load(sPath)
term.setCursorBlink(true)
redraw()
local modifiers = {
[ keys.leftCtrl ] = true,
[ keys.rightCtrl ] = true,
@@ -1222,6 +1216,10 @@ function input:translate(event, code, p1, p2)
end
end
load(sPath)
term.setCursorBlink(true)
redraw()
while bRunning do
local sEvent, param, param2, param3 = os.pullEventRaw()
local action