From ec7e58ef4c6b7ce006c7d29a6b198e58f4b2b7b8 Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Sun, 12 Apr 2020 17:17:12 -0700 Subject: [PATCH] Fix wasm junk --- terminal_js.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/terminal_js.go b/terminal_js.go index 0d1092c..f229698 100644 --- a/terminal_js.go +++ b/terminal_js.go @@ -3,4 +3,6 @@ package log // WASM builds don't have a terminal to query so interactive=false for plain // text logs to the browser console. -var interactive = false +func init() { + interactive = false +}