mirror of
https://github.com/jtdaugherty/brick.git
synced 2024-11-29 10:54:48 +03:00
KeyDispatcher: improve docs
This commit is contained in:
parent
9372c391d5
commit
124ac1fed6
@ -52,8 +52,8 @@ import qualified Graphics.Vty as Vty
|
||||
|
||||
import Brick.Keybindings.KeyConfig
|
||||
|
||||
-- | A set of handlers for specific keys whose handlers run in the monad
|
||||
-- @m@.
|
||||
-- | A dispatcher keys that map to abstract events @k@ and whose
|
||||
-- handlers run in the monad @m@.
|
||||
newtype KeyDispatcher k m = KeyDispatcher (M.Map Binding (KeyHandler k m))
|
||||
|
||||
-- | An 'Handler' represents a handler implementation to be invoked in
|
||||
|
Loading…
Reference in New Issue
Block a user