mirror of
https://github.com/CCLeonOS/LeonOS.git
synced 2026-03-03 15:17:01 +00:00
refactor(rom/programs/list): 添加term模块依赖
为list.lua程序添加term模块依赖,以支持后续可能需要使用终端相关功能
This commit is contained in:
@@ -7,6 +7,7 @@ local shell = require("shell")
|
|||||||
local colors = require("colors")
|
local colors = require("colors")
|
||||||
local settings = require("settings")
|
local settings = require("settings")
|
||||||
local textutils = require("textutils")
|
local textutils = require("textutils")
|
||||||
|
local term = require("term")
|
||||||
|
|
||||||
if #args == 0 then args[1] = shell.dir() end
|
if #args == 0 then args[1] = shell.dir() end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user