1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-04 03:48:07 +02:00

Fix ineffectual assignment

This commit is contained in:
Tommy Nguyen 2018-08-19 08:52:08 -04:00
parent 766197de9d
commit e8b12a086c
No known key found for this signature in database
GPG Key ID: DB7FA8161647D196

View File

@ -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