Only format text if real terminal is available.