Fix webclient.

This commit is contained in:
Calvin Rose 2019-10-14 20:55:04 -05:00
parent 7fd0748c19
commit 8dd322c0be
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
# Changelog
All notable changes to this project will be documented in this file.
## Unreleased
## 1.4.0 - 2019-10-14
- Add `quit` function to exit from a repl, but not always exit the entire
application.

View File

@ -5,7 +5,7 @@
(fiber/new (fn webrepl []
(setdyn :pretty-format "%.20P")
(repl (fn get-line [buf p]
(def offset (parser/where p))
(def [offset] (parser/where p))
(def prompt (string "janet:" offset ":" (parser/state p :delimiters) "> "))
(repl-yield prompt buf)
(yield)