CSS

brick – Haskell TUI programming toolkit

brick is a Haskell terminal user interface (TUI) programming toolkit. To use it, you write a pure function that describes how your user interface should be drawn based on your current application state and you provide a state transformation function to handle events.

brick exposes a declarative API. Unlike most GUI toolkits which require you to write a long and tedious sequence of widget creations and layout setup, brick just requires you to describe your interface using a set of declarative layout combinators. Event-handling is done by pattern-matching on incoming events and updating your application state.

This is free and open source software.

Website: github.com/jtdaugherty/brick
Support:
Developer: Jonathan Daugherty
License: BSD 3-Clause “New” or “Revised” License

brick is written in Haskell. Learn Haskell with our recommended free books and free tutorials.


Related Software

Haskell TUI Frameworks
brickTerminal user interface (TUI) programming toolkit
vtyProvides a high-level interface for doing terminal I/O
haskelineUser interface for line input in command-line programs

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Know a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments