From 82fb1f70ab275884c42dd769b2af8f9df5389e88 Mon Sep 17 00:00:00 2001 From: bptato Date: Mon, 19 Jun 2023 20:16:39 +0200 Subject: Get rid of the .jserr pragma --- src/display/client.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/display/client.nim') diff --git a/src/display/client.nim b/src/display/client.nim index 8196df26..af4b3fb2 100644 --- a/src/display/client.nim +++ b/src/display/client.nim @@ -434,7 +434,7 @@ proc newConsole(pager: Pager, tty: File): Console = raise newException(Defect, "Failed to open console pipe.") let url = newURL("javascript:console.show()") result.container = pager.readPipe0(some("text/plain"), none(Charset), - pipefd[0], option(url), "Browser console") + pipefd[0], option(url.get(nil)), "Browser console") var f: File if not open(f, pipefd[1], fmWrite): raise newException(Defect, "Failed to open file for console pipe.") -- cgit 1.4.1-2-gfad0