actually display the cursor

This commit is contained in:
jlamothe committed 2024-08-01 16:17:47 -04:00
1 parent f949a65281
commit 09c8953728
1 file changed
+2 -2
+2 -2
View File
@@ -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)