From 0f3be1b298027891da41c4f060feca77680c82e1 Mon Sep 17 00:00:00 2001 From: Caleb Fontenot Date: Sun, 9 Apr 2023 09:15:21 -0500 Subject: [PATCH] add zero-width space --- commands/drawDesign.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/drawDesign.cjs b/commands/drawDesign.cjs index 0379591..c3cbd8e 100644 --- a/commands/drawDesign.cjs +++ b/commands/drawDesign.cjs @@ -215,12 +215,12 @@ function charIterate(input) { if (charIterateState == undefined) { charIterateState = 0; } - console.log(charIterateState, input.charAt(charIterate)); if (charIterateState < input.length) { charIterateState++; } else { charIterateState = 0; } + console.log(charIterateState, input.charAt(charIterate)); return charIterateState; }