github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

jugyo / termcolor

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 8
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (1)
  • Downloads (3)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (3)
    • ver.1.1.0
    • ver.1.0.0
    • ver.0.3.2
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Termcolor is a library for ANSII color formatting like HTML for output in terminal. — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

fix a bug abount 256 colors 
ohac (author)
Sat Dec 12 01:07:00 -0800 2009
commit  00dce580044b7511ee6fc602ad49f726706289b6
tree    f3c62536f4a3c238175c9455e06407980657a79f
parent  9d8f032505182ac46b4c119e17fbb193b0761a79
termcolor /
name age
history
message
file .gitignore Loading commit data...
file History.txt
file README.rdoc
file Rakefile
directory examples/
directory lib/
directory spec/
file termcolor.gemspec
README.rdoc

termcolor

wiki.github.com/jugyo/termcolor

DESCRIPTION:

Termcolor is a library for ANSI color formatting like HTML for output in terminal.

FEATURES/PROBLEMS:

SYNOPSIS:

 TermColor.parse('<blue>Hello</blue> <red>World!</red>')
 #=> "\e[34mHello\e[0m \e[31mWorld!\e[0m"

REQUIREMENTS:

  • highline

INSTALL:

 sudo gem install termcolor

or

 gem source -a http://gems.github.com
 sudo gem install jugyo-termcolor

TODO:

 for windows...

LICENSE:

(The MIT License)

Copyright © 2008-2009 jugyo

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ‘Software’), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED ‘AS IS’, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server