« get me outta code hell

tui-lib - Pure Node.js library for making visual command-line programs (ala vim, ncdu)
about summary refs log tree commit diff
path: root/ui/WrapLabel.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/WrapLabel.js')
-rw-r--r--ui/WrapLabel.js2
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]))
     }
   }