From 2bba3a4c383073bbd929d27d4ce568b92a018a94 Mon Sep 17 00:00:00 2001 From: Jakub Jankiewicz Date: Thu, 14 Nov 2024 22:37:10 +0100 Subject: [PATCH] (docs) improve easter egg example --- docs/src/components/Interpreter/examples.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/components/Interpreter/examples.ts b/docs/src/components/Interpreter/examples.ts index fdb31dff..936f66ba 100644 --- a/docs/src/components/Interpreter/examples.ts +++ b/docs/src/components/Interpreter/examples.ts @@ -299,7 +299,7 @@ const examples = [ (if (null? self.qrcode) (%promisify ($.getScript "https://cdn.jsdelivr.net/gh/jcubic/static/js/qrcode.js"))) (let ((code (%promisify (qrcode.generate "https://tinyurl.com/fxv87gb")))) - (term.echo (code.replace #/\\[47m/g "[30;47m")) + (term.echo (code.replace #/\\[47m/g "[30;47m") &(:ansi #t)) #void)` } ];