mirror of
https://github.com/CCLeonOS/LeonOS.git
synced 2026-03-03 06:47:00 +00:00
style(lua): 修改REPL提示符从'>>>'变为'#'以简化界面
This commit is contained in:
@@ -35,7 +35,7 @@ print("LeonOS Lua REPL.\nCall exit() to exit.")
|
|||||||
local history = {}
|
local history = {}
|
||||||
while run do
|
while run do
|
||||||
term.setTextColor(colors.white)
|
term.setTextColor(colors.white)
|
||||||
io.write("$ lua >>> ")
|
io.write("$ lua # ")
|
||||||
local data = term.read(nil, history, function(text)
|
local data = term.read(nil, history, function(text)
|
||||||
return textutils.complete(text, env)
|
return textutils.complete(text, env)
|
||||||
end)
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user