chalk/wrap-ansi
Do you want to work on this issue?
You can request for a bounty in order to promote it!
Tabs are not wrapped correctly #54
Maxim-Mazurok posted onGitHub
Here's a reproduction:
const wrapAnsi = require('wrap-ansi');
const styledString = '\t\t\t\ttestingtesting';
console.log('1234556790');
console.log(wrapAnsi(styledString, 10, { hard: true, trim: false }));
This is what I get:
1234556790
testingtes
ting
This is what I expect:
1234556790
testingtes
ting