mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Use tab to auto complete context suggestion
This commit is contained in:
@@ -182,7 +182,7 @@ const ChatTextArea = forwardRef<HTMLTextAreaElement, ChatTextAreaProps>(
|
|||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (event.key === "Enter" && selectedMenuIndex !== -1) {
|
if ((event.key === "Enter" || event.key === "Tab") && selectedMenuIndex !== -1) {
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
const selectedOption = getContextMenuOptions(searchQuery, selectedType, queryItems)[
|
const selectedOption = getContextMenuOptions(searchQuery, selectedType, queryItems)[
|
||||||
selectedMenuIndex
|
selectedMenuIndex
|
||||||
|
|||||||
Reference in New Issue
Block a user