From e8b12a086c94f29b8fdcd1b2197b332834e13ca6 Mon Sep 17 00:00:00 2001 From: Tommy Nguyen Date: Sun, 19 Aug 2018 08:52:08 -0400 Subject: [PATCH] Fix ineffectual assignment --- pkg/gui/view_helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/gui/view_helpers.go b/pkg/gui/view_helpers.go index d6d10c780..dc669146b 100644 --- a/pkg/gui/view_helpers.go +++ b/pkg/gui/view_helpers.go @@ -220,7 +220,7 @@ func (gui *Gui) renderString(g *gocui.Gui, viewName, s string) error { } v.Clear() output := string(bom.Clean([]byte(s))) - output = utils.NormalizeLinefeeds(s) + output = utils.NormalizeLinefeeds(output) fmt.Fprint(v, output) v.Wrap = true return nil