« get me outta code hell

Correctly enable ANSI compression in tuiApp util - tui-lib - Pure Node.js library for making visual command-line programs (ala vim, ncdu)
about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2019-10-23 11:01:49 -0300
committerFlorrie <towerofnix@gmail.com>2019-10-23 11:02:07 -0300
commit695149a96299f9f1d3d0cc0747a7390a82d69525 (patch)
tree06d5eb804408e5dc0cd05ea8f52c1c2f8bc0f320
parent074a49b1f14739c42a38333756f94052d85d1a06 (diff)
Correctly enable ANSI compression in tuiApp util
-rw-r--r--util/tui-app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/tui-app.js b/util/tui-app.js
index a695e57..fe1cd03 100644
--- a/util/tui-app.js
+++ b/util/tui-app.js
@@ -14,7 +14,7 @@ module.exports = async function tuiApp(callback) {
 
     const flushable = new Flushable(process.stdout, true);
 
-    const root = new Root(interfacer);
+    const root = new Root(interfacer, flushable);
 
     const size = await interfacer.getScreenSize();
     root.w = size.width;