diff options
Diffstat (limited to 'js/color_code.js')
| -rw-r--r-- | js/color_code.js | 4 |
1 files changed, 2 insertions, 2 deletions
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) } |
