mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-31 15:43:01 +00:00 
			
		
		
		
	Fix webclient.
This commit is contained in:
		| @@ -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. | ||||
|   | ||||
| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Calvin Rose
					Calvin Rose