IDEA-149450 ANSI escapes not interpreted as expected