purebred-0.1.0.0: An mail user agent built around notmuch

Safe HaskellNone
LanguageHaskell2010

UI.Keybindings

Synopsis

Documentation

data EventHandler v m Source #

Constructors

EventHandler (forall f. Functor f => ([Keybinding v m] -> f [Keybinding v m]) -> AppState -> f AppState) (AppState -> Event -> EventM Name (Next AppState)) 

nullEventHandler :: EventHandler v m Source #

Do nothing. It might be worthwhile to enhance this to display a message like "no binding for key blah".