From 1628e7d629765779315a4b9e95cab17e93c2a530 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 28 Jul 2015 03:55:30 -0700 Subject: [PATCH] force unicode when browserified for now. see #158. --- browser/transform.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/browser/transform.js b/browser/transform.js index 3030fb5..91489a5 100644 --- a/browser/transform.js +++ b/browser/transform.js @@ -68,6 +68,10 @@ function readMethods() { this.terminal = TERMCAP_NAME; return this._readTermcap(this.terminal); }; + + Tput.prototype.detectUnicode = function() { + return true; + }; } readMethods = readMethods.toString().slice(24, -2)