mirror of https://github.com/jroimartin/gocui.git
_examples/wrap: Minor changes
This commit is contained in:
parent
8efd767c68
commit
25ba6858fb
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue