diff --git a/pkg/gui/view_helpers.go b/pkg/gui/view_helpers.go index b870508b1..f6b567911 100644 --- a/pkg/gui/view_helpers.go +++ b/pkg/gui/view_helpers.go @@ -218,7 +218,9 @@ func (gui *Gui) renderString(g *gocui.Gui, viewName, s string) error { return nil } v.Clear() - fmt.Fprint(v, bom.Clean([]byte(s))) + output := string(bom.Clean([]byte(s))) + strings.Replace(output, "\r", "\r\n", -1) + fmt.Fprint(v, output) v.Wrap = true return nil })