sneakyterm: Tiny, declarative wrapper around ncurses
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
SneakyTerm gives you MonadTerminal which gives you two operations, tmRender to render a list of tiles, and tmCharEvent to wait for character input. A simple example:
main = do
  let viewport = rectFromOriginAndDim (V2 0 0) (V2 80 25)
  runTerminal viewport $ do
    tmRender [Tile (V2 10 10) '@' (ColorPair Red Blue)]
    _ <- tmCharEvent
    return ()This will render a red @ at column 11, line 11, with blue background.
Properties
| Versions | 0.1, 0.1 | 
|---|---|
| Change log | None available | 
| Dependencies | base (>=4.7 && <4.8), classy-prelude, containers, lens, linear, mtl, ncurses, transformers [details] | 
| License | GPL-3.0-only | 
| Copyright | Copyright (C) 2014-2015 Philipp Middendorf | 
| Author | Philipp Middendorf | 
| Maintainer | pmidden@secure.mailbox.org | 
| Category | User Interfaces | 
| Home page | https://github.com/pmiddend/sneakyterm | 
| Bug tracker | https://github.com/pmiddend/sneakyterm/issues | 
| Source repo | head: git clone git://github.com/pmiddend/sneakyterm.git | 
| Uploaded | by pimiddy at 2015-08-10T19:59:21Z | 
Modules
- System- Console- SneakyTerm- System.Console.SneakyTerm.Color
- System.Console.SneakyTerm.ColorPair
- System.Console.SneakyTerm.MonadTerminal
- System.Console.SneakyTerm.PointInt
- System.Console.SneakyTerm.Rect
- System.Console.SneakyTerm.Tile
 
 
- SneakyTerm
 
- Console
Downloads
- sneakyterm-0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees