Skip to content
Haskell package to generate ANSI escape codes for styling strings in the terminal
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.cabal-sandbox
dist
src
ChangeLog.md
LICENSE
README.md
Setup.hs
ansi-escape-codes.cabal
cabal.sandbox.config
example.hs

README.md

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

You can’t perform that action at this time.