From 154dd2f631edc9f46ff73e80b54d48f0ccdf049a Mon Sep 17 00:00:00 2001 From: Florrie Date: Thu, 16 Jul 2020 14:05:54 -0300 Subject: support mixed textAttributes & ANSI format labels --- ui/WrapLabel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/WrapLabel.js') diff --git a/ui/WrapLabel.js b/ui/WrapLabel.js index 7036908..d40b29d 100644 --- a/ui/WrapLabel.js +++ b/ui/WrapLabel.js @@ -20,7 +20,7 @@ module.exports = class WrapLabel extends Label { const lines = this.getWrappedLines() for (let i = 0; i < lines.length; i++) { writable.write(ansi.moveCursor(this.absTop + i, this.absLeft)) - writable.write(lines[i]) + writable.write(this.processFormatting(lines[i])) } } -- cgit 1.3.0-6-gf8a5