swarm-0.1.0.0: 2D resource gathering game with programmable robots
CopyrightBrent Yorgey
LicenseBSD-3-Clause
Maintainerbyorgey@gmail.com
Safe HaskellSafe-Inferred
LanguageHaskell2010

Swarm.App

Description

Main entry point for the Swarm application.

Synopsis

Documentation

app :: EventHandler -> App AppState AppEvent Name Source #

The definition of the app used by the brick library.

appMain :: AppOpts -> IO () Source #

The main IO computation which initializes the state, sets up some communication channels, and runs the UI.

demoWeb :: IO () Source #

A demo program to run the web service directly, without the terminal application. This is useful to live update the code using `ghcid -W --test "Swarm.App.demoWeb"`

enablePasteMode :: EventM n s () Source #

If available for the terminal emulator, enable bracketed paste mode.