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 +}