mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-14 11:23:09 +02:00
16 lines
342 B
Go
16 lines
342 B
Go
|
package presentation
|
||
|
|
||
|
func GetSuggestionListDisplayStrings(suggestions []string) [][]string {
|
||
|
lines := make([][]string, len(suggestions))
|
||
|
|
||
|
for i := range suggestions {
|
||
|
lines[i] = getSuggestionDisplayStrings(suggestions[i])
|
||
|
}
|
||
|
|
||
|
return lines
|
||
|
}
|
||
|
|
||
|
func getSuggestionDisplayStrings(suggestion string) []string {
|
||
|
return []string{suggestion}
|
||
|
}
|