fix(README) : example with NewPar

This commit is contained in:
Yvonnick Esnault 2015-03-11 21:51:18 +01:00
parent 0916e5ebce
commit b23fd8ec5e
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ The `Border` property can be chosen to hide or display (with its border label),
} }
defer ui.Close() defer ui.Close()
p := ui.NewP(":PRESS q TO QUIT DEMO") p := ui.NewPar(":PRESS q TO QUIT DEMO")
p.Height = 3 p.Height = 3
p.Width = 50 p.Width = 50
p.TextFgColor = ui.ColorWhite p.TextFgColor = ui.ColorWhite