Skip to content

Commit

Permalink
fix: ascii logo
Browse files Browse the repository at this point in the history
  • Loading branch information
cameri committed Dec 24, 2022
1 parent 86151e0 commit 5205871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class App implements IRunnable {
░ ░░ ░ ▒░ ░ ▒ ▒░ ░ ░▒ ░ ░ ░ ░▒ ░ ▒░ ░ ░ ░ ▒ ▒▒ ░░ ░ ░
░ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ░ ░░ ░ ░ ░ ▒ ░ ░
░ ░ ░ ░ ░ ░ ░ ░ ░ ░`)
const width = 114
const width = 74
const logCentered = (input: string, width: number) => {
const start = (width >> 1) - (input.length >> 1)
console.log(' '.repeat(start), input)
Expand Down

0 comments on commit 5205871

Please sign in to comment.