From b2146a4c1da3caad7e6e8ffa2e7cc90f017a60d0 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Thu, 13 Dec 2018 21:36:19 -0500 Subject: [PATCH] Update web client. --- src/webclient/webinit.janet | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/webclient/webinit.janet b/src/webclient/webinit.janet index 09ecb2b4..5ef92263 100644 --- a/src/webclient/webinit.janet +++ b/src/webclient/webinit.janet @@ -3,8 +3,8 @@ (fiber/new (fn webrepl [] (repl (fn get-line [buf p] - (def [line] (parser/where p)) - (def prompt (string "janet:" line ":" (parser/state p) "> ")) + (def offset (parser/where p)) + (def prompt (string "janet:" offset ":" (parser/state p) "> ")) (repl-yield prompt buf) (yield) buf))))