_examples/wrap: Minor changes

This commit is contained in:
Roi Martin 2015-01-24 14:38:08 +01:00
parent 8efd767c68
commit 25ba6858fb
1 changed files with 2 additions and 2 deletions

View File

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