mirror of
https://github.com/CCLeonOS/LeonOS.git
synced 2026-03-03 06:47:00 +00:00
fix: 更新安装程序版本号并简化shell提示符
- 将安装程序版本号从0.3.7 Beta 10更新至0.3.7 Beta 11 - 移除shell启动时的欢迎图像和文字 - 将shell提示符从">>>"简化为"#"
This commit is contained in:
@@ -82,17 +82,17 @@ for _, prog in ipairs(fs.list(completions)) do
|
||||
end
|
||||
|
||||
local history = {}
|
||||
local image = paintutils.parseImage([[
|
||||
f f
|
||||
-- local image = paintutils.parseImage([[
|
||||
-- f f
|
||||
|
||||
f f
|
||||
ffff
|
||||
]])
|
||||
paintutils.drawImage(image, term.getCursorPos())
|
||||
textutils.coloredPrint(colors.yellow, "Welcome using the beta version of LeonOS!", colors.white)
|
||||
-- f f
|
||||
-- ffff
|
||||
-- ]])
|
||||
-- paintutils.drawImage(image, term.getCursorPos())
|
||||
-- textutils.coloredPrint(colors.yellow, "Welcome using the beta version of LeonOS!", colors.white)
|
||||
while true do
|
||||
term.setTextColor(colors.yellow)
|
||||
rc.write("$ "..shell.dir().." >>> ")
|
||||
rc.write("$ "..shell.dir().." # ")
|
||||
term.setTextColor(colors.white)
|
||||
|
||||
local text = term.read(nil, history, shell.complete)
|
||||
|
||||
Reference in New Issue
Block a user