Package2.10Graphics
brick
A declarative terminal user interface library
- Version2.10
- CategoryGraphics
- LicenceBSD-3-Clause
- AuthorJonathan Daugherty <cygnus@foobox.com>
- MaintainerJonathan Daugherty <cygnus@foobox.com>
- Homepagegithub.com/jtdaugherty/brick
- Pinned byhackage brick 2.10
- Sourcehackage.haskell.org/package/brick-2.10
Modules
29 modules- Brick0This module is provided as a convenience to import the most
- Brick.Animation16This module provides some infrastructure for adding animations to
- Brick.AttrMap14This module provides types and functions for managing an attribute
- Brick.BChan6
- Brick.BorderMap26
- Brick.Focus11This module provides a type and functions for handling focus rings
- Brick.Forms32Note - this API is designed to support a narrow (but common!) set
- Brick.Keybindings0The re-exporting catch-all module for the customizable keybindings
- Brick.Keybindings.KeyConfig17This module provides KeyConfig and associated functions. A
- Brick.Keybindings.KeyDispatcher11This is the entry point into the keybinding infrastructure in
- Brick.Keybindings.KeyEvents5This module provides KeyEvents, a data type for mapping
- Brick.Keybindings.Normalize1
- Brick.Keybindings.Parse6This module provides key binding string parsing functions for use
- Brick.Keybindings.Pretty11This module provides functions for pretty-printing key bindings
- Brick.Main39
- Brick.Themes17Support for representing attribute themes and loading and saving
- Brick.Types81Basic types used by this library.
- Brick.Util6Utility functions.
- Brick.Widgets.Border10This module provides border widgets: vertical borders, horizontal
- Brick.Widgets.Border.Style7This module provides styles for borders as used in terminal
- Brick.Widgets.Center10This module provides combinators for centering other widgets.
- Brick.Widgets.Core78This module provides the core widget combinators and rendering
- Brick.Widgets.Dialog16This module provides a simple dialog widget. You get to pick the
- Brick.Widgets.Edit14This module provides a basic text editor widget. You'll need to
- Brick.Widgets.FileBrowser64This module provides a file browser widget that allows users to
- Brick.Widgets.List40This module provides a scrollable list type and functions for
- Brick.Widgets.ProgressBar4This module provides a progress bar widget.
- Brick.Widgets.Table24This module provides a table widget that can draw other widgets
- Data.IMap17
Description
Write terminal user interfaces (TUIs) painlessly with brick! You write an event handler and a drawing function and the library does the rest.
module Main where import Brick ui :: Widget () ui = str "Hello, world!" main :: IO () main = simpleMain ui
To get started, see:
The README The Brick user guide The demonstration programs in the programs directory
This package deprecates vty-ui.
Depends on
26 packages- base-4.20.2.0with GHC
- bimap-0.5.0in this set
- bytestring-0.12.2.0with GHC
- config-ini-0.2.7.0in this set
- containers-0.7with GHC
- data-clist-0.2in this set
- deepseq-1.5.0.0with GHC
- directory-1.3.8.5with GHC
- exceptions-0.10.9with GHC
- filepath-1.5.4.0with GHC
- hashable-1.4.7.0in this set
- microlens-0.4.14.0in this set
- microlens-mtl-0.2.1.0in this set
- microlens-th-0.4.3.16in this set
- mtl-2.3.1with GHC
- stm-2.5.3.1with GHC
- template-haskell-2.22.0.0with GHC
- text-2.1.3with GHC
- text-zipper-0.13in this set
- time-1.12.2with GHC
- unix-compat-0.7.4.1in this set
- unordered-containers-0.2.21in this set
- vector-0.13.2.0in this set
- vty-6.5in this set
- vty-crossplatform-0.4.0.0in this set
- word-wrap-0.5in this set