Skip to content

Commit 003511d

Browse files
committed
fixup! util: add fast path to stripVTControlCharacters
1 parent bf4a28d commit 003511d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/util/strip-vt-control-characters.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function main({ input, n }) {
1717
str = 'This is a plain text string without any ANSI codes';
1818
break;
1919
case 'noAnsi-long':
20-
str = 'Long plain text without ANSI. '.repeat(100);
20+
str = 'Long plain text without ANSI. '.repeat(333);
2121
break;
2222
case 'ansi-short':
2323
str = '\u001B[31mHello\u001B[39m';

0 commit comments

Comments
 (0)