Update sPhone.lua

This commit is contained in:
Ale32bit 2016-12-29 19:34:26 +01:00 committed by GitHub
parent 29c1e9d626
commit 0a09a777ba

View file

@ -1,6 +1,6 @@
local function kernel(...) local function kernel(...)
_G.sPhone = { _G.sPhone = {
version = "Beta 1.1", version = "Beta 1.2",
user = "Guest", user = "Guest",
devMode = false, devMode = false,
mainTerm = term.current(), mainTerm = term.current(),
@ -278,7 +278,7 @@ local function kernel(...)
if str then if str then
term.setCursorPos(2, 1 + i - scroll) term.setCursorPos(2, 1 + i - scroll)
local isDir local isDir
if not pairs then if not opt.pairs then
isDir = fs.isDir(fs.combine(path, str)) isDir = fs.isDir(fs.combine(path, str))
else else
isDir = false isDir = false