Color the REPL prompt
This commit is contained in:
parent
9047523588
commit
e0194112c5
|
@ -946,7 +946,7 @@ Up Scheme
|
||||||
|
|
||||||
(define (repl)
|
(define (repl)
|
||||||
(define (prompt)
|
(define (prompt)
|
||||||
(display "up> ")
|
(display (string-append (sgr bold (fg cyan)) "up>" (sgr) " "))
|
||||||
(io.flush *output-stream*)
|
(io.flush *output-stream*)
|
||||||
(let ((v (trycatch (read)
|
(let ((v (trycatch (read)
|
||||||
(lambda (e) (begin (io.discardbuffer *input-stream*)
|
(lambda (e) (begin (io.discardbuffer *input-stream*)
|
||||||
|
|
Loading…
Reference in New Issue