diff options
Diffstat (limited to 'ui/Label.js')
-rw-r--r-- | ui/Label.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/Label.js b/ui/Label.js index faeee98..e320574 100644 --- a/ui/Label.js +++ b/ui/Label.js @@ -13,7 +13,7 @@ module.exports = class Label extends DisplayElement { } fixLayout() { - this.w = this.text.length + this.w = ansi.measureColumns(this.text) } drawTo(writable) { |