CustomKeybindingDemo: comment

This commit is contained in:
Jonathan Daugherty 2022-08-02 19:51:05 -07:00
parent dc783e4126
commit f6ec9233ab

View File

@ -60,6 +60,8 @@ makeLenses ''St
-- | Event handlers for the our KeyEvents.
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.
[ K.onEvent QuitEvent "Quit the program"
M.halt
, K.onEvent IncrementEvent "Increment the counter" $