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

[ library, mit, unclassified ] [ Propose Tags ] [ Report a vulnerability ]

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.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 2017-12-14T03:05:33Z
Distributions NixOS:0.3.0.0
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2307 total (17 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-12-14 [all 1 reports]

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