unsuccessfull attempt at renaming terminal to io...
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
local module = {}
|
||||
|
||||
module.dependencies = { "io" }
|
||||
module.dependencies = { "terminal" }
|
||||
|
||||
function module.check()
|
||||
return true -- This module should always be loaded
|
||||
|
||||
@@ -18,7 +18,7 @@ function module.init()
|
||||
|
||||
local component = require("component")
|
||||
local gpu = component.gpu
|
||||
_G._PUBLIC.io = {}
|
||||
_G._PUBLIC.terminal = {}
|
||||
|
||||
local readHistory = {}
|
||||
function _PUBLIC.terminal.getHistory(id)
|
||||
@@ -811,7 +811,7 @@ function module.init()
|
||||
end
|
||||
|
||||
function module.exit()
|
||||
_G._PUBLIC.io = nil
|
||||
_G._PUBLIC.terminal = nil
|
||||
end
|
||||
|
||||
return module
|
||||
|
||||
Reference in New Issue
Block a user