From ddaa5e34e61790369bfef5e751050cb25804be6a Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Tue, 16 Apr 2019 16:06:52 -0400 Subject: [PATCH] Fix web versinon repl colors. --- src/webclient/webinit.janet | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/webclient/webinit.janet b/src/webclient/webinit.janet index 82c19373..fede7bb7 100644 --- a/src/webclient/webinit.janet +++ b/src/webclient/webinit.janet @@ -1,12 +1,12 @@ # Copyright 2017-2019 (C) Calvin Rose (print (string "Janet " janet/version "-" janet/build " Copyright (C) 2017-2019 Calvin Rose")) -(setdyn :pretty-format "%.20P") (fiber/new (fn webrepl [] - (repl (fn get-line [buf p] - (def offset (parser/where p)) - (def prompt (string "janet:" offset ":" (parser/state p) "> ")) - (repl-yield prompt buf) - (yield) - buf)))) + (setdyn :pretty-format "%.20P") + (repl (fn get-line [buf p] + (def offset (parser/where p)) + (def prompt (string "janet:" offset ":" (parser/state p) "> ")) + (repl-yield prompt buf) + (yield) + buf))))