colorfg
module to color screen output using extended escape sequences
Install
- All systems
-
curl cmd.cat/colorfg.sh
- Debian
-
apt-get install libterm-extendedcolor-perl
- Ubuntu
-
apt-get install libterm-extendedcolor-perl
- Kali Linux
-
apt-get install libterm-extendedcolor-perl
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install libterm-extendedcolor-perl
- Raspbian
-
apt-get install libterm-extendedcolor-perl
- Dockerfile
- dockerfile.run/colorfg
libterm-extendedcolor-perl
module to color screen output using extended escape sequences
Term::ExtendedColor provides functions for sending so called extended escape sequences to the terminal. This ought to be used with a 256-color compatible terminal. The codes generated by this module comply to the extension of the ANSI colors standard first implemented in xterm in 1999. The first 16 color indexes (0 - 15) are the regular ANSI colors, while index 16 - 255 are the extendes ones. Most terminal emulators support this extension.