1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-11-26 09:00:57 +02:00

view_helpers.go: don't ignore return value

This commit is contained in:
Tommy Nguyen 2018-08-19 02:21:33 -04:00
parent cdc6d45fa4
commit b46d174f70
No known key found for this signature in database
GPG Key ID: DB7FA8161647D196

View File

@ -219,7 +219,7 @@ func (gui *Gui) renderString(g *gocui.Gui, viewName, s string) error {
}
v.Clear()
output := string(bom.Clean([]byte(s)))
strings.Replace(output, "\r", "\r\n", -1)
output = strings.Replace(output, "\r", "\r\n", -1)
fmt.Fprint(v, output)
v.Wrap = true
return nil