
-----------------------------------
DtY
Sun May 24, 2009 7:33 pm

Quick Ansi Library
-----------------------------------
#!/usr/bin/ruby

def ansi_clear
    #Clears the screen, and moves cursor to top left
    printf "\e

Save file as ansi.rb somewhere in your ruby path, then require 'ansi' to use it.
You can do whatever you want with this. I really don't care, didn't take very long. Go ahead and use it without crediting me.

http://i2.photobucket.com/albums/y29/jeffayle/1243213288-scr.png
ansi_setmode:
http://i2.photobucket.com/albums/y29/jeffayle/1243213515-scr.png
