0.0
No commit activity in last 3 years
No release in over 3 years
A simple ansi library that does only what it needs to do.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Build Status Test Coverage Code Climate Dependency Status

Simple ANSI

Provides a key set of colors and ANSI for your projects, it's simple, it's meant to be used at the most basic level, and was originally embedded into Docker-Template but has become encapsulated to use across all my projects.

Current Helpers

  • clear: Clear the current view.
  • has?: Tells you whether the given string has ANSI.
  • red, green, black, magenta, yellow, white, blue, cyan
  • jump(str, num): Jump the cursor up and then back down num lines in the terminal.
  • clear_line: Clear the current line - Make sure to end it in \r
  • reset: Adds ANSI reset.