diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-09-09 17:20:55 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-09-09 17:20:55 -0700 |
commit | 38e827243ceff3732cd0f260e7a3bd4941a96bc5 (patch) | |
tree | 83f5404a10f6e7b27090339c790a9a786fbd2ee2 /extension/src | |
parent | 73ae5d306c16d7c372e831d3ca41067a62c8481f (diff) | |
download | sncontinue-38e827243ceff3732cd0f260e7a3bd4941a96bc5.tar.gz sncontinue-38e827243ceff3732cd0f260e7a3bd4941a96bc5.tar.bz2 sncontinue-38e827243ceff3732cd0f260e7a3bd4941a96bc5.zip |
fix: :bug: fix cmd+m bug
Diffstat (limited to 'extension/src')
-rw-r--r-- | extension/src/commands.ts | 13 |
1 files changed, 5 insertions, 8 deletions
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 () => { |