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