tidy up env creation - round 1
This commit is contained in:
@@ -36,7 +36,7 @@ function Terminal.window(parent, sx, sy, w, h, isVisible)
|
||||
local maxScroll = 100
|
||||
local cx, cy = 1, 1
|
||||
local blink = false
|
||||
local _bg, _fg = parent.getBackgroundColor(), parent.getTextColor()
|
||||
local _bg, _fg = colors.black, colors.white
|
||||
|
||||
win.canvas = Canvas({
|
||||
x = sx,
|
||||
|
||||
@@ -119,7 +119,7 @@ function UI:init()
|
||||
local event = currentPage:pointToChild(x, y)
|
||||
_ENV.multishell.openTab({
|
||||
path = 'sys/apps/Lua.lua',
|
||||
args = { event.element },
|
||||
args = { event.element, self, _ENV },
|
||||
focused = true })
|
||||
|
||||
elseif ie and currentPage and currentPage.parent.device.side == side then
|
||||
|
||||
Reference in New Issue
Block a user