Skip to content

Commit 9baf787

Browse files
committed
Allow double-clicking suggestions
1 parent 3ff4552 commit 9baf787

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/gui/context/suggestions_context.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,7 @@ func (self *SuggestionsContext) RefreshSuggestions() {
8888
func (self *SuggestionsContext) RangeSelectEnabled() bool {
8989
return false
9090
}
91+
92+
func (self *SuggestionsContext) GetOnClick() func() error {
93+
return self.State.OnConfirm
94+
}

0 commit comments

Comments
 (0)