parent
0c35841bb2
commit
696b17fae1
|
@ -30,6 +30,7 @@ import Brick.AttrMap (forceAttrMap)
|
||||||
import Brick.Main (App (..), halt, neverShowCursor)
|
import Brick.Main (App (..), halt, neverShowCursor)
|
||||||
import Brick.Types (BrickEvent, EventM, Widget)
|
import Brick.Types (BrickEvent, EventM, Widget)
|
||||||
import Brick.Util (style)
|
import Brick.Util (style)
|
||||||
|
import Brick.Widgets.Core (emptyWidget)
|
||||||
|
|
||||||
import Hamming.App.Types
|
import Hamming.App.Types
|
||||||
|
|
||||||
|
@ -43,7 +44,7 @@ mainApp = App
|
||||||
}
|
}
|
||||||
|
|
||||||
drawFunc :: AppState -> [Widget ()]
|
drawFunc :: AppState -> [Widget ()]
|
||||||
drawFunc = const []
|
drawFunc = const [emptyWidget]
|
||||||
|
|
||||||
eventHandler :: BrickEvent () () -> EventM () AppState ()
|
eventHandler :: BrickEvent () () -> EventM () AppState ()
|
||||||
eventHandler = const halt
|
eventHandler = const halt
|
||||||
|
|
Loading…
Reference in New Issue
Block a user