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

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]

Warnings:


[Skip to ReadMe]

Properties

Versions0.1.0.0, 0.1.0.0, 0.2.0.0, 0.3.0.0
Change logChangeLog.md
Dependenciesbase (==4.10.*) [details]
LicenseMIT
AuthorJoe Gesualdo
Maintainerjoegesualdo@gmail.com
Home pagehttps://github.com/joegesualdo/ansi-escape-codes
UploadedSun Dec 10 14:54:02 UTC 2017 by joegesualdo

Modules

Downloads

Maintainers' corner

For package maintainers and hackage trustees


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