chalk/wrap-ansi
The issue has been solved
Does not wrap a series of whitespace #23
tjconcept posted onGitHub
wrap(' ', 2, { trim: false })
' ' // actual
' \n ' // expected
Adding hard
does not change the behaviour.