The sneakyterm package

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.

[maintain]

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

Versions0.1, 0.1
Change logNone available
Dependenciesbase (==4.7.*), classy-prelude, containers, lens, linear, mtl, ncurses, transformers [details]
LicenseGPL-3
CopyrightCopyright (C) 2014-2015 Philipp Middendorf
AuthorPhilipp Middendorf
Maintainerpmidden@secure.mailbox.org
CategoryUser Interfaces
Home pagehttps://github.com/pmiddend/sneakyterm
Bug trackerhttps://github.com/pmiddend/sneakyterm/issues
Source repositoryhead: git clone git://github.com/pmiddend/sneakyterm.git
UploadedMon Aug 10 19:59:21 UTC 2015 by pimiddy

Modules

Downloads

Maintainers' corner

For package maintainers and hackage trustees