Framework

reflex-vty – build terminal applications using functional reactive programming

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
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.

Discovered 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