We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e976864 commit 0bd1b21Copy full SHA for 0bd1b21
1 file changed
frontend/src/ts/input/handlers/insert-text.ts
@@ -209,12 +209,16 @@ export async function onInsertText(options: OnInsertTextParams): Promise<void> {
209
// this needs to be called after event logging
210
WeakSpot.updateScore(data, correct);
211
212
+ const commitCorrect = noSpaceForce
213
+ ? testInput + data === currentWord
214
+ : correct;
215
+
216
// going to next word
217
let increasedWordIndex: null | boolean = null;
218
let lastBurst: null | number = null;
219
if (shouldGoToNextWord) {
220
const result = await goToNextWord({
- correctInsert: correct,
221
+ correctInsert: commitCorrect,
222
isCompositionEnding: isCompositionEnding === true,
223
zenNewline: charIsNewline && Config.mode === "zen",
224
now,
0 commit comments