reflex-vty is a Haskell library for building terminal applications using functional reactive programming.
It combines Reflex FRP with Vty and provides a collection of reactive widgets for creating interactive text-based interfaces.
The library offers layout management, text editing, scrolling, mouse and keyboard input, focus handling, theming, colour support, and layered rendering.
This is free and open source software.
Key Features
- Arranges widgets into rows and columns with fixed or proportional sizing.
- Provides single-line and multi-line text input with word wrapping.
- Handles wide characters, tabs, cursor movement, and text editing.
- Offers tab-based focus management across interactive widgets.
- Includes buttons, hyperlinks, checkboxes, bordered boxes, and split panes.
- Supports scrollable containers, automatic scrolling, and configurable scrollbars.
- Handles mouse clicks, dragging, scroll-wheel input, and keyboard combinations.
- Provides terminal cursor control, bracketed paste, resize events, and signal handling.
- Includes preset themes and locally overridable widget styling.
- Supports RGB colours, gradients, colour mixing, and terminal capability detection.
- Offers per-cell transparency and layered rendering through its canvas module.
Website: github.com/reflex-frp/reflex-vty
Support:
Developer: Obsidian Systems LLC
License: BSD 3-Clause “New” or “Revised” License
reflex-vty is written in Haskell. Learn Haskell with our recommended free books and free tutorials.
Related Software
| Haskell TUI Frameworks | |
|---|---|
| brick | Terminal user interface (TUI) programming toolkit |
| vty | Provides a high-level interface for doing terminal I/O |
| reflex-vty | Build terminal applications using functional reactive programming |
| haskeline | User interface for line input in command-line programs |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.