proper limits, enable colors only for tty