From 87818920ceaeb9f7b401d27eb04eeede5aa319ee Mon Sep 17 00:00:00 2001 From: Caleb Fontenot Date: Sun, 9 Apr 2023 09:17:18 -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 a06c7d7..de15387 100644 --- a/commands/drawDesign.cjs +++ b/commands/drawDesign.cjs @@ -215,7 +215,7 @@ function charIterate(input) { if (charIterateState == undefined) { charIterateState = 0; } - if (charIterateState <= input.length) { + if (charIterateState < (input.length + 1)) { charIterateState++; } else { charIterateState = 0;