diff --git a/build/symbols.json b/build/symbols.json index abdf8ec..fe580d5 100644 --- a/build/symbols.json +++ b/build/symbols.json @@ -781,5 +781,14 @@ "#####", ".....", "....." + ], + "-": [ + ".....", + ".....", + ".....", + "#####", + ".....", + ".....", + "....." ] } \ No newline at end of file diff --git a/data/punctuation.js b/data/punctuation.js index d269224..061f294 100644 --- a/data/punctuation.js +++ b/data/punctuation.js @@ -160,5 +160,14 @@ module.exports = { ##### ..... ..... + `, + '-': ` + ..... + ..... + ..... + ##### + ..... + ..... + ..... ` } diff --git a/krasivo.js b/krasivo.js index dd67c87..871aa84 100644 --- a/krasivo.js +++ b/krasivo.js @@ -35,8 +35,8 @@ module.exports = function krasivo (string, foreground, background, options) { return replaceForegroundAndBackground( rows.join('\n'), - foreground, - background, + foreground.toString(), + background.toString(), options ) }