[Bug 58665] New: cmd incorrectly wraps text containing ANSI escape sequences