mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
c3c9931eb6
Rainbow extends ruby String class adding methods to wrap the string with ANSI escape codes. Rainbow adds following methods to String class: * foreground(color) (with color and colour aliases) * background(color) * reset * bright * italic (not well supported by terminal emulators). * underline * blink * inverse * hide. WWW: https://github.com/sickill/rainbow
17 lines
372 B
Plaintext
17 lines
372 B
Plaintext
Rainbow extends ruby String class adding methods to wrap the string
|
|
with ANSI escape codes.
|
|
|
|
Rainbow adds following methods to String class:
|
|
|
|
* foreground(color) (with color and colour aliases)
|
|
* background(color)
|
|
* reset
|
|
* bright
|
|
* italic (not well supported by terminal emulators).
|
|
* underline
|
|
* blink
|
|
* inverse
|
|
* hide.
|
|
|
|
WWW: https://github.com/sickill/rainbow
|