aboutsummaryrefslogtreecommitdiff
path: root/nomsu.lua
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-06-23 18:26:18 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-06-23 18:26:27 -0700
commit65addb9aa6c5e44048f01d73429090f5ed9dd799 (patch)
tree61b9153954c6a24903420448a28e7e79abca90d5 /nomsu.lua
parent9f08215dfb179c3c37c18016fb0eafb7ec6e681e (diff)
Cleaning up makefile and REPL colors.
Diffstat (limited to 'nomsu.lua')
-rw-r--r--nomsu.lua9
1 files changed, 8 insertions, 1 deletions
diff --git a/nomsu.lua b/nomsu.lua
index bb044b4..de1885f 100644
--- a/nomsu.lua
+++ b/nomsu.lua
@@ -250,7 +250,14 @@ run = function()
os.exit(EXIT_SUCCESS)
end
if args.interactive then
- nomsu:run('say "\\n\\(bright)\\(underscore)Welcome to the Nomsu v\\(Nomsu version) interactive console!\\(reset color)\\n press \'enter\' twice to run a command\\n"')
+ nomsu:run([[use "core"
+use "lib/consolecolor.nom"
+say ".."
+
+ \(bright)\(underscore)Welcome to the Nomsu v\(Nomsu version) interactive console!\(reset color)
+
+ press \'enter\' twice to run a command
+ \("")]])
local ready_to_quit = false
nomsu.A_quit = function()
ready_to_quit = true