mirror of
https://github.com/issadarkthing/gomu.git
synced 2025-05-01 13:48:52 +08:00
run go fmt
This commit is contained in:
parent
d0bac491c6
commit
be97544e8b
2
popup.go
2
popup.go
@ -394,7 +394,7 @@ func searchPopup(title string, stringsToMatch []string, handler func(selected st
|
||||
matchrune := []rune(match.Str)
|
||||
matchruneIndexes := match.MatchedIndexes
|
||||
for i := 0; i < len(match.MatchedIndexes); i++ {
|
||||
matchruneIndexes[i] =
|
||||
matchruneIndexes[i] =
|
||||
utf8.RuneCountInString(match.Str[0:match.MatchedIndexes[i]])
|
||||
}
|
||||
for i := 0; i < len(matchrune); i++ {
|
||||
|
Loading…
x
Reference in New Issue
Block a user