Make the local Lua message a little shorter

Co-authored-by: exerro <benedict.allen2514@gmail.com>
This commit is contained in:
Jonathan Coates 2020-05-09 08:30:55 +01:00
parent 44062ebd52
commit 376d628cf0
No known key found for this signature in database
GPG Key ID: D6D4CB5BFBBB5CB8
2 changed files with 2 additions and 4 deletions

View File

@ -70,14 +70,12 @@
;; Suppress warnings for currently undocumented modules.
(at
(/doc/stub/commands.lua
/doc/stub/fs.lua
(/doc/stub/fs.lua
/doc/stub/http.lua
/doc/stub/os.lua
/doc/stub/redstone.lua
/doc/stub/term.lua
/doc/stub/turtle.lua
/src/main/resources/*/computercraft/lua/rom/apis/command/commands.lua
/src/main/resources/*/computercraft/lua/rom/apis/io.lua
/src/main/resources/*/computercraft/lua/rom/apis/window.lua
/src/main/resources/*/computercraft/lua/rom/modules/main/cc/shell/completion.lua)

View File

@ -71,7 +71,7 @@ while bRunning do
if term.isColour() then
term.setTextColour(colours.yellow)
end
print("local variables from the previous input are inaccessible afterwards. If you want to be able to use a variable across multiple inputs then remove the local keyword.")
print("To access local variables in later inputs, remove the local keyword.")
term.setTextColour(colours.white)
end