diff options
author | Tulir Asokan <tulir@maunium.net> | 2018-05-22 17:25:57 +0300 |
---|---|---|
committer | Tulir Asokan <tulir@maunium.net> | 2018-05-22 17:25:57 +0300 |
commit | f30eb65256e1484e2aa0296d5d81a0b815b55fe1 (patch) | |
tree | b68023d35ecc0616bf5f312e029e7824ed850671 /ui | |
parent | cc28c7b65f9aa53a6bb1f0162f6124e1ad5edac2 (diff) |
Fix missing newlines
Diffstat (limited to 'ui')
-rw-r--r-- | ui/fuzzy-search-modal.go | 2 |
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)) |