ensured color and attribute codes do not get applied to non-interactive terminals