Skip to content

zgl1104/xterm-color-count

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

XTerm Color Count

Count how many colors your XTerm actually supports, since it may be different from what tput colors reports.

For example, on my desktop (Ubuntu 11.10 with XTerm(271)) tput colors returns 8 while XTerm actually supports 256 colors.

Usage

./xterm-color-count.sh

You might have to wait a few seconds for the result to be returned.

./xterm-color-count.sh -v

Print each color number in its own formatting.

Credit

Gilles did all the research, and has awesome communication skills and *nix knowledge.

About

Count how many colors your XTerm actually supports

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%