Merge pull request #83 from kquick/patch-1

Fix lens arguments and charFill argument order in example.
This commit is contained in:
Jonathan Daugherty 2016-10-09 23:06:44 -07:00 committed by GitHub
commit ff7cfa698a

View File

@ -906,7 +906,7 @@ write:
Widget Greedy Greedy $ do
ctx <- getContext
let a = ctx^.attrL
return $ Result (Graphics.Vty.charFill ch a (ctx^.availWidth) (ctx^.availHeight))
return $ Result (Graphics.Vty.charFill a ch (ctx^.availWidthL) (ctx^.availHeightL))
[] []
Rendering Sub-Widgets