From 38e827243ceff3732cd0f260e7a3bd4941a96bc5 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Sat, 9 Sep 2023 17:20:55 -0700 Subject: fix: :bug: fix cmd+m bug --- extension/src/commands.ts | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'extension') diff --git a/extension/src/commands.ts b/extension/src/commands.ts index 4ceac25d..7d190634 100644 --- a/extension/src/commands.ts +++ b/extension/src/commands.ts @@ -28,14 +28,11 @@ const commandsMap: { [command: string]: (...args: any) => any } = { } }, "continue.focusContinueInput": async () => { - if (focusedOnContinueInput) { - vscode.commands.executeCommand("workbench.action.focusActiveEditorGroup"); - } else { - vscode.commands.executeCommand("continue.continueGUIView.focus"); - debugPanelWebview?.postMessage({ - type: "focusContinueInput", - }); - } + vscode.commands.executeCommand("continue.continueGUIView.focus"); + debugPanelWebview?.postMessage({ + type: "focusContinueInput", + }); + focusedOnContinueInput = !focusedOnContinueInput; }, "continue.focusContinueInputWithEdit": async () => { -- cgit v1.2.3-70-g09d2