summaryrefslogtreecommitdiff
path: root/extension/react-app/src/components/ComboBox.tsx
diff options
context:
space:
mode:
authorsestinj <sestinj@gmail.com>2023-07-15 15:11:47 -0700
committersestinj <sestinj@gmail.com>2023-07-15 15:11:47 -0700
commit2d65ab9e6a6e0009a070ca2c11749126a3bad175 (patch)
treed22a3795528ec37d2f9c528f929fad6c82be444b /extension/react-app/src/components/ComboBox.tsx
parent5921c70228ea74fe2ed687c6bfda8a876d5455c5 (diff)
parent45ee33f7fd84c0bc49d35d9d1a7a3a8e9f6addd7 (diff)
downloadsncontinue-2d65ab9e6a6e0009a070ca2c11749126a3bad175.tar.gz
sncontinue-2d65ab9e6a6e0009a070ca2c11749126a3bad175.tar.bz2
sncontinue-2d65ab9e6a6e0009a070ca2c11749126a3bad175.zip
Merge branch 'main' of github.com:continuedev/continue into main
Diffstat (limited to 'extension/react-app/src/components/ComboBox.tsx')
-rw-r--r--extension/react-app/src/components/ComboBox.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/extension/react-app/src/components/ComboBox.tsx b/extension/react-app/src/components/ComboBox.tsx
index 754c9445..f11e07af 100644
--- a/extension/react-app/src/components/ComboBox.tsx
+++ b/extension/react-app/src/components/ComboBox.tsx
@@ -13,6 +13,7 @@ import HeaderButtonWithText from "./HeaderButtonWithText";
import { DocumentPlus } from "@styled-icons/heroicons-outline";
import { HighlightedRangeContext } from "../../../schema/FullState";
import { postVscMessage } from "../vscode";
+import { getMetaKeyLabel } from "../util";
// #region styled components
const mainInputFontSize = 13;
@@ -286,7 +287,7 @@ const ComboBox = React.forwardRef((props: ComboBoxProps, ref) => {
<div className="flex px-2" ref={divRef} hidden={!downshiftProps.isOpen}>
<MainTextInput
disabled={props.disabled}
- placeholder="Ask a question, give instructions, or type '/' to see slash commands. ⌘⏎ to edit."
+ placeholder={`Ask a question, give instructions, or type '/' to see slash commands. ${getMetaKeyLabel()}⏎ to edit.`}
{...getInputProps({
onChange: (e) => {
const target = e.target as HTMLTextAreaElement;