Skip to content

Commit

Permalink
fix(padding): spaced 🌌
Browse files Browse the repository at this point in the history
  • Loading branch information
xero committed Jul 31, 2024
1 parent 487bd81 commit 15ef5da
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 44 deletions.
12 changes: 0 additions & 12 deletions .eslintrc.json

This file was deleted.

59 changes: 28 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,33 +1,30 @@
{
"name": "sofancy",
"author": "xero <x@xero.style> (https://x-e.ro)",
"version": "3.0.1",
"main": "sofancy.js",
"description": "a fun unicode font tool",
"repository": {
"type": "git",
"url": "github.com:xero/sofancy"
},
"license": "CC0-1.0",
"bin": "sofancy.js",
"scripts": {
"test": "./sofancy.js -t So Fancy",
"lint": "eslint --cache ."
},
"keywords": [
"unicode",
"fonts",
"unicode-fonts",
"unicode",
"fonts",
"aesthetics",
"cli",
"tty",
"terminal",
"console",
"textart"
],
"devDependencies": {
"eslint": "^9.8.0"
}
"name": "sofancy",
"author": "xero <x@xero.style> (https://x-e.ro)",
"version": "3.0.3",
"main": "sofancy.js",
"description": "a fun unicode font tool",
"repository": {
"type": "git",
"url": "github.com:xero/sofancy"
},
"license": "CC0-1.0",
"bin": "sofancy.js",
"scripts": {
"test": "./sofancy.js -t So Fancy",
"lint": "eslint --cache ."
},
"keywords": [
"unicode",
"fonts",
"unicode-fonts",
"unicode",
"fonts",
"aesthetics",
"cli",
"tty",
"terminal",
"console",
"textart"
]
}
2 changes: 1 addition & 1 deletion sofancy.js
Original file line number Diff line number Diff line change
Expand Up @@ -1811,7 +1811,7 @@ function walk(txt, f) {
}
fancy += (f.match(/^(mirror|flip|upsidedown)$/))
? unicodereverse(specimen) : specimen;
console.log(!titles ? `${fancy} ` : `${f}: ${fancy} `);
console.log(!titles ? `${fancy} ` : `${f.padEnd(15)} ${fancy} `);
}

function getfancy(txt) {
Expand Down

0 comments on commit 15ef5da

Please # to comment.