initialize random number generator

This commit is contained in:
2024-09-07 15:34:10 -04:00
parent 11870423ed
commit 76d2600fcf
4 changed files with 52 additions and 5 deletions

View File

@@ -36,8 +36,10 @@ import Brick
, style
)
import Password.App.Types
-- | The main application
passmanApp :: App () () ()
passmanApp :: App AppState () ()
passmanApp = App
{ appDraw = drawFunc
, appChooseCursor = neverShowCursor
@@ -46,10 +48,10 @@ passmanApp = App
, appAttrMap = const $ attrMap (style 0) []
}
drawFunc :: () -> [Widget ()]
drawFunc :: AppState -> [Widget ()]
drawFunc = const [emptyWidget]
eventHandler :: BrickEvent () () -> EventM () () ()
eventHandler :: BrickEvent () () -> EventM () AppState ()
eventHandler = const halt
--jl