Add primitive recognition of terminal color support