diff --git a/src/QRgen/private/DrawedQRCode/print.nim b/src/QRgen/private/DrawedQRCode/print.nim index 6766935..ec22783 100644 --- a/src/QRgen/private/DrawedQRCode/print.nim +++ b/src/QRgen/private/DrawedQRCode/print.nim @@ -25,7 +25,7 @@ proc printTerminal*(self: DrawedQRCode) = result.add "\n" result.add "\n\n\n\n\n" when defined(js): - console.log result + console.log result.cstring else: stdout.write result