-
-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
Description
I've only noticed this happen with URLs and only with hard: true
. Even with wordWrap: false
it still happens as long as hard: true
is passed.
Normal 'word':
> const wrapAnsi = require('wrap-ansi');
> console.log(wrapAnsi('hi, this IsAReallyLongWordButIDoNotKnowHowItShouldBehave', 32, {hard: true}));
hi, this IsAReallyLongWordButIDo
NotKnowHowItShouldBehave
✅
Hyperlink:
> const wrapAnsi = require('wrap-ansi');
> console.log(wrapAnsi('hi, this https://IsAReallyLongWordButIDoNotKnowHowItShouldBehave.com', 32, {hard: true}));
hi, this
https://IsAReallyLongWordButIDoN
otKnowHowItShouldBehave.com
❌