From 9292dc486ab3da80a376df6492378fc01ff13505 Mon Sep 17 00:00:00 2001 From: Pokey Rule <755842+pokey@users.noreply.github.com> Date: Fri, 1 Dec 2023 16:37:17 +0000 Subject: [PATCH] tweak --- .../cursorless-vscode/src/keyboard/KeyboardCommandsModal.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cursorless-vscode/src/keyboard/KeyboardCommandsModal.ts b/packages/cursorless-vscode/src/keyboard/KeyboardCommandsModal.ts index 2f24bb31ce..8683d80a21 100644 --- a/packages/cursorless-vscode/src/keyboard/KeyboardCommandsModal.ts +++ b/packages/cursorless-vscode/src/keyboard/KeyboardCommandsModal.ts @@ -121,7 +121,7 @@ export default class KeyboardCommandsModal { * If the parser wants more tokens, we set this to "" so that the layer * can ask for characters for the next token from scratch. */ - let currentText: string = text; + let currentText = text; while (true) { const token = await this.currentLayer.handleInput(currentText); if (token == null) {