1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

soft code finding of suggestions

This commit is contained in:
Jesse Duffield
2020-11-28 20:01:45 +11:00
parent be404068ff
commit f31fbc10f6
5 changed files with 53 additions and 40 deletions

View File

@ -113,6 +113,10 @@ type Gui struct {
StartTime time.Time
Mutexes guiStateMutexes
// findSuggestions will take a string that the user has typed into a prompt
// and return a slice of suggestions which match that string.
findSuggestions func(string) []*types.Suggestion
}
type RecordedEvent struct {