Build terminal applications using functional reactive programming (FRP) with Reflex FRP.
Go to file
2021-04-12 18:08:27 -07:00
.github/workflows ci: rebuild github action cache 2021-04-09 21:43:42 -04:00
doc Use imgur-hosted welcome GIF 2020-06-15 14:11:33 -04:00
reflex-platform ci: fix nix build 2021-03-11 21:22:27 -05:00
src consolidate DisplayLinesWithAlignment and DisplayLines 2021-04-12 18:08:27 -07:00
src-bin Remove extra MonadNodeId constraints; Fix a few things pointed out in review 2021-04-09 21:33:08 -04:00
test consolidate DisplayLinesWithAlignment and DisplayLines 2021-04-12 18:08:27 -07:00
.gitignore Update .gitignore 2020-06-05 17:09:53 -04:00
.travis.yml Include GHC 8.8 in CI checks 2020-05-08 00:36:30 -04:00
ChangeLog.md consolidate DisplayLinesWithAlignment and DisplayLines 2021-04-12 18:08:27 -07:00
CONTRIBUTING.md Add contribution guide, changelog, release.nix 2019-08-03 20:06:51 -04:00
LICENSE Update license 2018-02-27 12:51:37 -05:00
README.md nix: simplify nix-shell instructions 2021-03-11 21:24:53 -05:00
reflex-vty.cabal Merge branch 'develop' into aa/pdlla/layout2 2021-04-09 14:05:51 -04:00
release.nix ci: fix nix build 2021-03-11 21:22:27 -05:00
Setup.hs Reflex host for Graphics.Vty 2018-02-25 16:58:54 -05:00
shell.nix nix: simplify nix-shell instructions 2021-03-11 21:24:53 -05:00

reflex-vty

Haskell Hackage Hackage CI Travis CI BSD3 License

Build terminal applications using functional reactive programming (FRP) with Reflex FRP.

Example Animation

Feature requests, pull requests, and other feedback are welcome and appreciated (see the contribution guide). This library is still experimental, so big changes are possible!

How to Build

With reflex-platform

Enter a nix-shell for the project:

git clone https://github.com/reflex-frp/reflex-vty.git
cd reflex-vty
nix-shell

From within the nix-shell you can:

  • Run the example: cabal repl example
  • Load the library in the repl: cabal repl reflex-vty
  • Build the example executable: cabal build example
  • Build the docs: cabal haddock
  • Run ghcid for immediate compiler feedback when you save a .hs file: ghcid -c "cabal repl reflex-vty --ghc-options=-Wall"
  • etc.

With cabal

Please see the tested-with field of the cabal file for known-compatible versions of GHC.

From the reflex-vty project directory:

# nix-shell -p cabal-install binutils icu # for nix users
cabal new-configure
cabal new-build # to build the library and example
cabal new-repl # to enter a repl for the library
cabal new-repl example # to enter a repl for the example executable