diff options
author | Florrie <towerofnix@gmail.com> | 2020-07-16 14:05:54 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2020-07-16 14:05:54 -0300 |
commit | 154dd2f631edc9f46ff73e80b54d48f0ccdf049a (patch) | |
tree | b170d47d5f166152a16d83d2584e98ad24da5f1f /ui/WrapLabel.js | |
parent | 7f0579fc6e5771bbcad36591ab54119c4fe66dbd (diff) |
support mixed textAttributes & ANSI format labels
Diffstat (limited to 'ui/WrapLabel.js')
-rw-r--r-- | ui/WrapLabel.js | 2 |
1 files changed, 1 insertions, 1 deletions
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])) } } |