tweaks: stop converting text once we overshoot span columns
Since we only need span columns of the string, stop scanning the string as soon as we have that many columns, instead of scanning the string all the way to the end. This speeds up the conversion of very long lines.
Showing
+4 -2
Please register or sign in to comment