Skip to content

Commit

Permalink
Add a README
Browse files Browse the repository at this point in the history
  • Loading branch information
hoelzro committed Jul 15, 2010
1 parent 604e972 commit 95417a8
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Overview
--------

ansicolors is a simple Lua module for printing to the console
in color.

I hope to integrate this module with others into a luaterm
distribution sometime in the near future.

Installation
------------

It's pure Lua, so just put ansicolors.lua somewhere where your
Lua interpreter will be able to find it.

Usage
-----

local colors = require 'ansicolors'
print(color.red 'hello')
print(color.red .. 'hello' .. color.reset)
print(color.red, 'hello', color.reset)

0 comments on commit 95417a8

Please sign in to comment.