term_colortab
using ANSI escape sequences
Install
- All systems
-
curl cmd.cat/term_colortab.sh
- Debian
-
apt-get install ruby-term-ansicolor
- Ubuntu
-
apt-get install ruby-term-ansicolor
- Arch Linux
-
pacman -S ruby-term-ansicolor
- Kali Linux
-
apt-get install ruby-term-ansicolor
- Fedora
-
dnf install rubygem-term-ansicolor
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install ruby-term-ansicolor
- Raspbian
-
apt-get install ruby-term-ansicolor
- Dockerfile
- dockerfile.run/term_colortab
rubygem-term-ansicolor
using ANSI escape sequences
ruby-term-ansicolor
Ruby library that colors strings using ANSI escape sequences
Small Ruby library that colors strings using ANSI escape sequences. It's possible to use constants or unary functions. Block-forms also autoreset at the block's end. It's also possible to use this module as a mixin for classes of objects that respond to :to_str, e.g. String. This package is part of the Ruby library extras, a supplement to Ruby's standard library.