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] [Publish]

Warnings:


[Skip to Readme]

Properties

Versions 0.1.0.0, 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-10T14:54:02Z

Modules

Downloads

Maintainer's Corner

Package maintainers

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