ansicode.rb

Path: lib/facets/more/ansicode.rb
Last Update: Tue Sep 09 01:55:47 +0000 2008

ansicode.rb

Copyright (c) 2004 Florian Frank, Thomas Sawyer

  Ruby License

  This module is free software. You may use, modify, and/or redistribute this
  software under the same terms as Ruby.

  This program is distributed in the hope that it will be useful, but WITHOUT
  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  FOR A PARTICULAR PURPOSE.

Authors & Contributors

  • Florian Frank
  • Thomas Sawyer

Speical Thanks

Special thanks to Florian Frank. ANSICode is a partial adaptation of ANSIColor, Copyright (c) 2002 Florian Frank, LGPL.

Developer Notes

  TODO Need to add rest of ANSI codes. Include modes?

  TODO Re-evaluate how color/yielding methods are defined.

  TODO Maybe up, down, right, left should have yielding
       methods too?

[Validate]