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:
parent
cdc6d45fa4
commit
b46d174f70
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user