{"repo":"jtdaugherty/vty","free":true,"listed":false,"github":"https://github.com/jtdaugherty/vty","clone":"git clone https://github.com/jtdaugherty/vty.git","description":"A high-level ncurses alternative written in Haskell","language":"Haskell","stars":333,"topics":["tui","ui","haskell"],"license":"BSD-3-Clause","category":"ui-components","readme_excerpt":"vty is a terminal interface library. It provides a high-level interface for doing terminal I/O. Vty is supported on GHC versions 7.10.1 and up. vty and its partner packages are published on Hackage. The vty package works in concert with one or more platform packages to do terminal I/O. Each platform package provides support for terminal I/O on a specific platform. Known platform packages are: vty-unix - the Unix terminal backend for Vty vty-windows - the Windows terminal backend for Vty vty-crossplatform - a package that builds vty-unix or vty-windows based on the build environment How to use Vty 1. Add a package dependency on vty-unix , vty-windows, or vty-crossplatform , depending on the desired level of platform support. For example, if an application only supports Unix systems, it should depend on vty-unix . But if an application is intended to work anywhere Vty works, then vty-crossplatform is the best choice. 2. Add a package dependency on vty ; the core library abstractions, types, and functions are obtained from vty itself. The platform packages do not re-export the core library's modules. 3. Import mkVty from the platform package in step (1) and use that to construct a Vty handle and initialize the terminal. 4. If desired, call Graphics.Vty.Config.userConfig to load the Vty user configuration since this step is not automatic. Once you've initialized the terminal and have a Vty value, all of the vty package's API is now ready to use to do terminal I/O. Implementing su","default_branch":null,"files":null,"tree":[],"storefront":"/r/jtdaugherty","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jtdaugherty/vty/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}