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

[ library, mit, unclassified ] [ Propose Tags ]

[Skip to Readme]
Versions 0.1.0.0, 0.2.0.0, 0.3.0.0
Change log ChangeLog.md
Dependencies base (>=4.7 && <5) [details]
License MIT
Author Joe Gesualdo
Maintainer joegesualdo@gmail.com
Home page https://github.com/joegesualdo/ansi-escape-codes
Uploaded by joegesualdo at Thu Dec 14 03:05:33 UTC 2017
Distributions NixOS:0.3.0.0
Downloads 471 total (13 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-12-14 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for ansi-escape-codes-0.3.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