summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2013-11-07 13:48:40 +0100
committertv <tv@nomic.retiolum>2013-11-07 13:48:40 +0100
commitc5d1a95fd0792de7c8fbe93768dce9662f0b948f (patch)
tree2f9b5d14bdb18128d41d01cd6aac89d7ff38694f
parentc06a92d72b62fe95fecd67719c605d4408c44838 (diff)
bitcoinwisdom ticker: fix escape chars
-rw-r--r--gold/bitcoinwisdom/ticker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/bitcoinwisdom/ticker.js b/gold/bitcoinwisdom/ticker.js
index be60ddb8..e49f12c2 100644
--- a/gold/bitcoinwisdom/ticker.js
+++ b/gold/bitcoinwisdom/ticker.js
@@ -47,7 +47,7 @@ function ticker_data_handler (data) {
var out = [
format_date(data.now) + '+' + pad(lag, -2, '0'),
'btceltcbtc',
- '\e[' + diff_color(diff) + 'm' + pad(ticker.last, 2 + 8, '0') + '\e[m',
+ '\x1b[' + diff_color(diff) + 'm' + pad(ticker.last, 2 + 8, '0') + '\x1b[m',
lag,
freq,
];