aboutsummaryrefslogtreecommitdiff
path: root/nomsu.moon
diff options
context:
space:
mode:
Diffstat (limited to 'nomsu.moon')
-rwxr-xr-xnomsu.moon14
1 files changed, 7 insertions, 7 deletions
diff --git a/nomsu.moon b/nomsu.moon
index 0c989e6..fcae65d 100755
--- a/nomsu.moon
+++ b/nomsu.moon
@@ -184,20 +184,20 @@ run = ->
unless args.primary_file or args.exec_strings
-- Run in interactive mode (REPL)
nomsu\run [[
-#!/usr/bin/env nomsu -V2
+#!/usr/bin/env nomsu -V4
use "lib/consolecolor.nom"
action [quit, exit]: lua> "os.exit(0)"
action [help]:
- say ".."
- This is the Nomsu v\(Nomsu version) interactive console.
+ say "\
+ ..This is the Nomsu v\(Nomsu version) interactive console.
You can type in Nomsu code here and hit 'enter' twice to run it.
- To exit, type 'exit' or 'quit' and hit enter twice.
-
-say ".."
+ To exit, type 'exit' or 'quit' and hit enter twice."
+say "\
+ ..
\(bright)\(underscore)Welcome to the Nomsu v\(Nomsu version) interactive console!\(reset color)
press 'enter' twice to run a command
- \("")]]
+ "]]
for repl_line=1,math.huge
io.write(colored.bright colored.yellow ">> ")
buff = {}