Fix missing newlines
This commit is contained in:
parent
cc28c7b65f
commit
f30eb65256
@ -93,7 +93,7 @@ func (fs *FuzzySearchModal) changeHandler(str string) {
|
|||||||
sort.Sort(fs.matches)
|
sort.Sort(fs.matches)
|
||||||
fs.results.Clear()
|
fs.results.Clear()
|
||||||
for _, match := range fs.matches {
|
for _, match := range fs.matches {
|
||||||
fmt.Fprintf(fs.results, `["%d"]%s[""]\n`, match.Index, match.Target)
|
fmt.Fprintf(fs.results, `["%d"]%s[""]%s`, match.Index, match.Target, "\n")
|
||||||
}
|
}
|
||||||
fs.parent.Render()
|
fs.parent.Render()
|
||||||
fs.results.Highlight(strconv.Itoa(fs.matches[0].Index))
|
fs.results.Highlight(strconv.Itoa(fs.matches[0].Index))
|
||||||
|
Loading…
Reference in New Issue
Block a user