Fix align_center for multiline text with tight width #3
This PR fixes
text = "Drawing some \ntext" puts Strings.align(text, 13, direction: :center)
Created this output before the PR:
And it now - correctly - creates this output:
This was discovered in piotrmurach/tty-box#2
In addition, I have added a test case for it, and normalized the indentation in the
Specs are passing locally, and failing without the fix.