Skip to content

Instantly share code, notes, and snippets.

@rickenharp
Created December 1, 2010 08:43
Show Gist options
  • Save rickenharp/723169 to your computer and use it in GitHub Desktop.
Save rickenharp/723169 to your computer and use it in GitHub Desktop.
ANSI[:RESET] = "\001\e[0m\002"
ANSI[:BOLD] = "\001\e[1m\002"
ANSI[:UNDERLINE] = "\001\e[4m\002"
ANSI[:LGRAY] = "\001\e[0;37m\002"
ANSI[:GRAY] = "\001\e[1;30m\002"
ANSI[:RED] = "\001\e[31m\002"
ANSI[:GREEN] = "\001\e[32m\002"
ANSI[:YELLOW] = "\001\e[33m\002"
ANSI[:BLUE] = "\001\e[34m\002"
ANSI[:MAGENTA] = "\001\e[35m\002"
ANSI[:CYAN] = "\001\e[36m\002"
ANSI[:WHITE] = "\001\e[37m\002"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment