util-linux/libsmartcols
Karel Zak 4310faf950 lib/colors: use libtinfo to check terminal capability
The current implementation assumes that all terminals supports colors
and users are forcet to use terminal-colors.d/ to disable colors for
some terminals.

This patch checks for maximal supported colors for the current
terminal and colors are automatically disabled for terminals like
vt100.

The patch moves lib/colors.c from libcommon.la to libtcolors.la to
avoid collisions with another utils.

Signed-off-by: Karel Zak <kzak@redhat.com>
2015-02-27 13:57:34 +01:00
..
docs docs: update API docs years 2015-01-13 12:03:17 +01:00
src lib/colors: use libtinfo to check terminal capability 2015-02-27 13:57:34 +01:00
COPYING libsmartcols: add missing COPYING file 2014-04-04 13:53:50 +02:00
Makemodule.am libsmartcols: documentation 2014-04-03 12:29:18 +02:00
smartcols.pc.in libsmartcols: add basic files 2014-04-03 12:29:15 +02:00