Skip to content

Commit

Permalink
fix: ensure enter key submits input content after editing it
Browse files Browse the repository at this point in the history
Signed-off-by: DingChil <xu.dingchao@gmail.com>
  • Loading branch information
DingChil committed Nov 8, 2023
1 parent 819d767 commit 96a2a08
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 0 additions & 7 deletions src/components/PromptMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -178,13 +178,6 @@ const handleEditPrompt = index => {
.name {
color: var(--webpilot-theme-brand-primary, #4f5aff);
background-color: var(--webpilot-theme-main-background-color, #fff);
// color: #4f5aff;
// border-color: #4f5aff;
}
.describe {
font-weight: 600;
}
}
Expand Down
1 change: 1 addition & 0 deletions src/csui/Index/ThePopupBox/ThePopupBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ const handleHoverPrompt = ({index}) => {
const handleCommandChange = () => {
selectedPrompt.index = -1
chooseIndex.value = -1
lastArrowKey.value = ''
}
const handleInputFocus = () => {
Expand Down

0 comments on commit 96a2a08

Please sign in to comment.