Color the REPL prompt

This commit is contained in:
Lassi Kortela 2019-08-28 13:12:43 +03:00
parent 9047523588
commit e0194112c5
1 changed files with 1 additions and 1 deletions

View File

@ -946,7 +946,7 @@ Up Scheme
(define (repl)
(define (prompt)
(display "up> ")
(display (string-append (sgr bold (fg cyan)) "up>" (sgr) " "))
(io.flush *output-stream*)
(let ((v (trycatch (read)
(lambda (e) (begin (io.discardbuffer *input-stream*)