[ 原始碼: rang ]
套件:librang-dev(3.2.0-1 以及其他的)
c++ terminal colour library
Simple header-only library that supports terminal colours on unix and windows using ansi sequences. Detects if output is a tty, and if colour is supported. Uses c++ iostream objects to do this.
If you need colour support on non-ansi terminals try termdb instead.