From 25ba6858fb674876f224f158a0a457ce5c85aea1 Mon Sep 17 00:00:00 2001 From: Roi Martin Date: Sat, 24 Jan 2015 14:38:08 +0100 Subject: [PATCH] _examples/wrap: Minor changes --- _examples/wrap.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_examples/wrap.go b/_examples/wrap.go index 1699a0b..098e171 100644 --- a/_examples/wrap.go +++ b/_examples/wrap.go @@ -22,8 +22,8 @@ func layout(g *gocui.Gui) error { v.WrapPrefix = "> " line := strings.Repeat("This is a long line -- ", 10) - fmt.Fprintf(v, "%v\n\n", line) - fmt.Fprint(v, "Short") + fmt.Fprintf(v, "%s\n\n", line) + fmt.Fprintln(v, "Short") } return nil }