mirror of
https://github.com/janet-lang/janet
synced 2024-06-28 08:03:16 +00:00
Update default repl prompt to match errors.
This commit is contained in:
parent
ed4163cfde
commit
9d8e338a11
|
@ -2829,7 +2829,7 @@
|
||||||
(flush)
|
(flush)
|
||||||
(defn getprompt [p]
|
(defn getprompt [p]
|
||||||
(def [line] (parser/where p))
|
(def [line] (parser/where p))
|
||||||
(string "janet:" line ":" (parser/state p :delimiters) "> "))
|
(string "repl:" line ":" (parser/state p :delimiters) "> "))
|
||||||
(defn getstdin [prompt buf _]
|
(defn getstdin [prompt buf _]
|
||||||
(file/write stdout prompt)
|
(file/write stdout prompt)
|
||||||
(file/flush stdout)
|
(file/flush stdout)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user