aboutsummaryrefslogtreecommitdiff
path: root/ui/fuzzy-search-modal.go
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-05-22 17:25:57 +0300
committerTulir Asokan <tulir@maunium.net>2018-05-22 17:25:57 +0300
commitf30eb65256e1484e2aa0296d5d81a0b815b55fe1 (patch)
treeb68023d35ecc0616bf5f312e029e7824ed850671 /ui/fuzzy-search-modal.go
parentcc28c7b65f9aa53a6bb1f0162f6124e1ad5edac2 (diff)
Fix missing newlines
Diffstat (limited to 'ui/fuzzy-search-modal.go')
-rw-r--r--ui/fuzzy-search-modal.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/fuzzy-search-modal.go b/ui/fuzzy-search-modal.go
index 8ea6bbb..5d75eaf 100644
--- a/ui/fuzzy-search-modal.go
+++ b/ui/fuzzy-search-modal.go
@@ -93,7 +93,7 @@ func (fs *FuzzySearchModal) changeHandler(str string) {
sort.Sort(fs.matches)
fs.results.Clear()
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.results.Highlight(strconv.Itoa(fs.matches[0].Index))