```js wrap(chalk`{green this} {red is} a long string {bold to be} {yellow wrapped}`,5); ``` will not wrap corretly because it is including ansi color info as part of the string.