;ref: ui: clarify vty construction
This commit is contained in:
parent
7ba9a4d06b
commit
8f37d8a611
@ -229,6 +229,6 @@ runBrickUi uopts@UIOpts{uoCliOpts=copts@CliOpts{inputopts_=_iopts,reportspec_=rs
|
||||
)
|
||||
|
||||
-- and start the app. Must be inside the withManager block
|
||||
let mkvty = mkVty mempty
|
||||
vty0 <- mkvty
|
||||
void $ customMain vty0 mkvty (Just eventChan) brickapp ui
|
||||
let vtyhandle = mkVty mempty
|
||||
vty <- vtyhandle
|
||||
void $ customMain vty vtyhandle (Just eventChan) brickapp ui
|
||||
|
||||
Loading…
Reference in New Issue
Block a user