diff options
author | Dave Reisner <dreisner@archlinux.org> | 2013-01-21 18:53:26 +0100 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2013-01-21 19:51:41 +0100 |
commit | abb3d580e49b8b28c161a047012c7121767d3b3c (patch) | |
tree | 48dca64f8aa53f8f954d58e0d486b9c424ce9a28 /init | |
parent | 1257d537a3ff62e2c543afb1ef4f807a003c9f2f (diff) | |
download | mkinitcpio-abb3d580e49b8b28c161a047012c7121767d3b3c.tar.gz mkinitcpio-abb3d580e49b8b28c161a047012c7121767d3b3c.tar.xz |
Do more to determine the color caps of the term
823e24 wasn't really correct, since running 'tput setaf 0' effectively
sanity checks the terminfo as well as checking existance. However, it
does nothing to affirm that the terminal is capable of supporting
colors.
Moreover, *never* fall back on the hardcoded escapes as doing so implies
that we've found a broken terminfo and we have no idea what the terminal
is capable of doing.
This reverts commit 823e2454176d4381cd3acc30481e9d84cdc298b1.
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions