From 9398dd9b760c2c48e96daf7c6751f50776cd75cf Mon Sep 17 00:00:00 2001 From: Jules Date: Sat, 11 Apr 2015 13:09:02 -0400 Subject: actual fix --- js/color_code.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/color_code.js') diff --git a/js/color_code.js b/js/color_code.js index 5789042..7c5f236 100644 --- a/js/color_code.js +++ b/js/color_code.js @@ -198,7 +198,7 @@ var MircColor = (function(){ } function ascii (rows) { var lines = rows.map(function(str){ - return str.map(function(index){ return "\\x03"," + index + "x" }).join("") + return str.map(function(index){ return "\\x03," + index + " " }).join("") }).join("\\n") var txt = '/exec -out printf "' + lines + '"\n' return txt @@ -211,7 +211,7 @@ var MircColor = (function(){ function stringFromUrl (url, cb, opt) { fromUrl(url, function(rows){ cb(rows.map(function(str){ - return str.map(function(index){ return "\C-c," + index + "x" }).join("") + return str.map(function(index){ return "\C-c," + index + " " }).join("") }).join("\n")) }, width) } -- cgit v1.2.3-70-g09d2