From f30eb65256e1484e2aa0296d5d81a0b815b55fe1 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Tue, 22 May 2018 17:25:57 +0300 Subject: Fix missing newlines --- ui/fuzzy-search-modal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui') 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)) -- cgit v1.2.3