From c5d1a95fd0792de7c8fbe93768dce9662f0b948f Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 7 Nov 2013 13:48:40 +0100 Subject: bitcoinwisdom ticker: fix escape chars --- gold/bitcoinwisdom/ticker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gold') 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, ]; -- cgit v1.2.3