From e3135550d5a5c81c691017257cda78da5d7429fa Mon Sep 17 00:00:00 2001 From: Miodec Date: Tue, 25 Nov 2025 10:23:07 +0100 Subject: [PATCH] fix: nospace not working --- frontend/src/ts/input/handlers/insert-text.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/ts/input/handlers/insert-text.ts b/frontend/src/ts/input/handlers/insert-text.ts index 0dd3d55cc..b3d2559e2 100644 --- a/frontend/src/ts/input/handlers/insert-text.ts +++ b/frontend/src/ts/input/handlers/insert-text.ts @@ -148,7 +148,7 @@ export async function onInsertText(options: OnInsertTextParams): Promise { // word navigation check const noSpaceForce = isFunboxActiveWithProperty("nospace") && - TestInput.input.current.length === TestWords.words.getCurrent().length; + (testInput + data).length === TestWords.words.getCurrent().length; const shouldGoToNextWord = ((charIsSpace || charIsNewline) && !shouldInsertSpace) || noSpaceForce;