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:
parent
ed4163cfde
commit
9d8e338a11
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user