ansi-escape-codes: Haskell package to generate ANSI escape codes for styling strings in the terminal.

[ library, mit, unclassified ] [ Propose Tags ]

Modules

[Last Documentation]

  • AnsiEscapeCodes

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.2.0.0, 0.3.0.0
Change log ChangeLog.md
Dependencies base (>=4.10 && <4.11) [details]
License MIT
Author Joe Gesualdo
Maintainer joegesualdo@gmail.com
Home page https://github.com/joegesualdo/ansi-escape-codes
Uploaded by joegesualdo at 2017-12-14T02:53:16Z
Distributions NixOS:0.3.0.0
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2286 total (10 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2017-12-14 [all 3 reports]

Readme for ansi-escape-codes-0.2.0.0

[back to package description]

ansi-escape-codes

Haskell package to generate ANSI escape codes for styling strings in the terminal Edit

Install

Coming soon...

Usage

import  AnsiEscapeCodes

main :: IO ()
main = do
  putStr $
    "Hi"
    ++ (show (CursorForwardSequence 1))
    ++ (show (CursorForwardSequence 1))
    ++ "B"
    ++ (show (CursorForwardSequence 1))
    ++ (show (CursorForwardSequence 1))
    ++ "O"
    ++ (show (CursorForwardSequence 1))
    ++ (show (CursorForwardSequence 1))
    ++ "0"

Test

Coming soon...

API

Coming soon

License

MIT © Joe Gesualdo