Check if ANSI escape codes are enabled on IEx's clear, closes #2441