diff options
Diffstat (limited to 'extension')
-rw-r--r-- | extension/package.json | 2 | ||||
-rw-r--r-- | extension/react-app/src/components/ComboBox.tsx | 2 | ||||
-rw-r--r-- | extension/src/commands.ts | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/extension/package.json b/extension/package.json index 1b4ef3da..edd3dc94 100644 --- a/extension/package.json +++ b/extension/package.json @@ -166,7 +166,7 @@ }, { "command": "continue.toggleAuxiliaryBar", - "mac": "option+cmd+m", + "mac": "alt+cmd+m", "key": "alt+ctrl+m" } ], diff --git a/extension/react-app/src/components/ComboBox.tsx b/extension/react-app/src/components/ComboBox.tsx index 91672b87..3b20cd8d 100644 --- a/extension/react-app/src/components/ComboBox.tsx +++ b/extension/react-app/src/components/ComboBox.tsx @@ -258,7 +258,7 @@ const ComboBox = React.forwardRef((props: ComboBoxProps, ref) => { } else if (event.data.type === "focusContinueInputWithEdit") { inputRef.current!.focus(); - inputRef.current!.value = "/edit"; + downshiftProps.setInputValue("/edit"); } }; window.addEventListener("message", handler); diff --git a/extension/src/commands.ts b/extension/src/commands.ts index 351c055d..433982ed 100644 --- a/extension/src/commands.ts +++ b/extension/src/commands.ts @@ -61,6 +61,9 @@ const commandsMap: { [command: string]: (...args: any) => any } = { }, "continue.toggleAuxiliaryBar": () => { vscode.commands.executeCommand("workbench.action.toggleAuxiliaryBar"); + debugPanelWebview?.postMessage({ + type: "focusContinueInputWithEdit", + }); }, "continue.quickTextEntry": async () => { const text = await vscode.window.showInputBox({ |