swarm-0.3.0.1: 2D resource gathering game with programmable robots
Safe HaskellSafe-Inferred
LanguageHaskell2010

Swarm.TUI.Controller.Util

Synopsis

Documentation

pattern Key :: Key -> BrickEvent n e Source #

Pattern synonyms to simplify brick event handler

pattern CharKey :: Char -> BrickEvent n e Source #

pattern ControlChar :: Char -> BrickEvent n e Source #

pattern MetaChar :: Char -> BrickEvent n e Source #

pattern ShiftKey :: Key -> BrickEvent n e Source #

pattern EscapeKey :: BrickEvent n e Source #

pattern FKey :: Int -> BrickEvent n e Source #

isRunningModal :: ModalType -> Bool Source #

The running modals do not autopause the game.