Fixes #135 - Full-width chars break gutter annotations (really)

This commit is contained in:
Eric Amodio
2017-08-30 11:46:41 -04:00
parent 4c4926c8b5
commit c258d04381

View File

@@ -115,7 +115,7 @@ export namespace Strings {
count += getWidth(s[chars++]);
}
if (count > truncateTo) {
if (count >= truncateTo) {
chars--;
}