mirror of
https://github.com/janet-lang/janet
synced 2025-09-01 18:38:04 +00:00
Update default repl prompt to match errors.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user