1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-28 11:09:54 +00:00

Update default repl prompt to match errors.

This commit is contained in:
Calvin Rose 2020-07-05 23:32:59 -05:00
parent ed4163cfde
commit 9d8e338a11

View File

@ -2829,7 +2829,7 @@
(flush)
(defn getprompt [p]
(def [line] (parser/where p))
(string "janet:" line ":" (parser/state p :delimiters) "> "))
(string "repl:" line ":" (parser/state p :delimiters) "> "))
(defn getstdin [prompt buf _]
(file/write stdout prompt)
(file/flush stdout)