add suppport for color terminals.