rename toAnsi to toString
if we ignore a CSI or ESC code, don't print it