Merge pull request #1 from yesnault/fixReadmeExample

fix(README) : example with NewPar
This commit is contained in:
Zack Guo 2015-03-11 17:06:32 -04:00
commit 09dd8e88a4

View File

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