actually display the cursor
This commit is contained in:
parent
f949a65281
commit
09c8953728
|
@ -27,7 +27,7 @@ License along with this program. If not, see
|
|||
module Hamming.App (mainApp, initialState) where
|
||||
|
||||
import Brick.AttrMap (attrMap)
|
||||
import Brick.Main (App (..), neverShowCursor)
|
||||
import Brick.Main (App (..), showFirstCursor)
|
||||
import Brick.Util (fg, style)
|
||||
import Graphics.Vty.Attributes (bold)
|
||||
import Graphics.Vty.Attributes.Color (green, red)
|
||||
|
@ -40,7 +40,7 @@ import Hamming.App.Widgets
|
|||
mainApp :: App AppState () ResName
|
||||
mainApp = App
|
||||
{ appDraw = drawFunc
|
||||
, appChooseCursor = neverShowCursor
|
||||
, appChooseCursor = showFirstCursor
|
||||
, appHandleEvent = eventHandler
|
||||
, appStartEvent = return ()
|
||||
, appAttrMap = const $ attrMap (style 0)
|
||||
|
|
Loading…
Reference in New Issue
Block a user