Library for creating command-line interfaces (colors, menus, etc.) http://github.com/pjones/byline
|Latest on Hackage:||0.3.0.0|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
Byline simplifies writing interactive terminal applications by building upon ansi-terminal and haskeline. This makes it possible to print messages and prompts that include terminal escape sequences such as colors that are automatically disabled when standard input is a file. It also means that Byline works on both POSIX-compatible systems and on Windows.
Please see the example programs in the
0.3.0.0 (December 1, 2017)
New style modifier:
swapFgBg(Thanks to Sam Tay)
Bylineis now an instance of
MonadTrans(Thanks to Sam Tay)
0.2.4.0 (March 19, 2017)
Update dependency bounds
Add Travis CI build status for supported versions of GHC
0.2.3.0 (November 1, 2016)
Increase upper bound on transformers package to
0.5(Thanks to slycelote).
0.2.2.0 (June 9, 2016)
Build under LTS-5.15
0.2.1.0 (November 5, 2014)
0.2.0.0 (May 22, 2015)
Added the NoItems constructor for Choice to deal with menus that are asked to display an empty list.
Changes to build with GHC 7.8.4. and 7.10.1
0.1.0.0 (May 19, 2015)
- Initial release.