mirror of
https://github.com/janet-lang/janet
synced 2025-11-06 10:33:03 +00:00
Add help text to repl line.
This commit is contained in:
@@ -2868,7 +2868,7 @@
|
|||||||
|
|
||||||
(when (and (not *compile-only*) (or *should-repl* *no-file*))
|
(when (and (not *compile-only*) (or *should-repl* *no-file*))
|
||||||
(if-not *quiet*
|
(if-not *quiet*
|
||||||
(print "Janet " janet/version "-" janet/build " " (os/which) "/" (os/arch)))
|
(print "Janet " janet/version "-" janet/build " " (os/which) "/" (os/arch) " - '(doc)' for help"))
|
||||||
(flush)
|
(flush)
|
||||||
(defn getprompt [p]
|
(defn getprompt [p]
|
||||||
(def [line] (parser/where p))
|
(def [line] (parser/where p))
|
||||||
|
|||||||
Reference in New Issue
Block a user