Haskell library for creating command-line interfaces (colors, menus, etc.)
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Peter J. Jones f2e6eb1926
Clean up the build system
il y a 2 mois
examples Changed menus so they default to the first item il y a 4 ans
nix Clean up the build system il y a 2 mois
src/System/Console Fix failing builds due to the Semigroup Monoid Proposal il y a 1 an
.envrc Clean up the build system il y a 2 mois
.gitignore Bump version for 0.3.0.0 release il y a 2 ans
AUTHORS Update metadata after merging #5 il y a 2 ans
CHANGES.md Update dependency versions and release 0.3.2.1 il y a 7 mois
LICENSE Update dependency versions and release 0.3.2.1 il y a 7 mois
README.md Remove old build status badge and unused files il y a 7 mois
Setup.hs Initial commit il y a 4 ans
TODO Use bracketOnError to properly clean up Haskeline il y a 4 ans
byline.cabal Update dependency versions and release 0.3.2.1 il y a 7 mois
default.nix Clean up the build system il y a 2 mois
shell.nix Clean up the build system il y a 2 mois

README.md

Byline

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.

The primary features of Byline include printing messages, prompting for input, and generating custom menus. It was inspired by the highline Ruby library and the terminal library by Craig Roche.

Examples

Please see the example programs in the examples directory.