mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-31 15:43:01 +00:00 
			
		
		
		
	Fix web versinon repl colors.
This commit is contained in:
		| @@ -1,9 +1,9 @@ | ||||
| # 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 [] | ||||
|              (setdyn :pretty-format "%.20P") | ||||
|              (repl (fn get-line [buf p] | ||||
|                      (def offset (parser/where p)) | ||||
|                      (def prompt (string "janet:" offset ":" (parser/state p) "> ")) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Calvin Rose
					Calvin Rose