CustomKeybindingDemo: nit

This commit is contained in:
Jonathan Daugherty 2022-08-02 20:13:22 -07:00
parent 4225f813a2
commit 6c0fb8da24

View File

@ -60,8 +60,9 @@ makeLenses ''St
-- | Key event handlers for our application.
handlers :: [K.KeyEventHandler KeyEvent (T.EventM () St)]
handlers =
-- The first three handlers are triggered by keys mapped to events,
-- thus decoupling the configured key bindings from these handlers.
-- The first three handlers are triggered by keys mapped to abstract
-- events, thus decoupling the configured key bindings from these
-- handlers.
[ K.onEvent QuitEvent "Quit the program"
M.halt
, K.onEvent IncrementEvent "Increment the counter" $