We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebcc5bb commit f76272aCopy full SHA for f76272a
1 file changed
cli/src/hooks/use-suggestion-menu-handlers.ts
@@ -179,7 +179,7 @@ export const useSuggestionMenuHandlers = ({
179
selectAgentItem(agentSelectedIndex) || selectAgentItem(0)
180
181
if (key.name === 'down' && !hasModifier(key)) {
182
- if (agentSelectedIndex === totalMatches - 1) return false
+ if (agentSelectedIndex === totalMatches - 1) return true
183
setAgentSelectedIndex((prev) => prev + 1)
184
return true
185
}
0 commit comments