mirror of
https://github.com/janet-lang/janet
synced 2025-08-06 14:05:32 +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…
x
Reference in New Issue
Block a user