From 5205871cc865fd32c18a035745a014f50f116a65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Arturo=20Cabral=20Mej=C3=ADa?= Date: Sat, 24 Dec 2022 15:59:25 -0500 Subject: [PATCH] fix: ascii logo --- src/app/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/app.ts b/src/app/app.ts index cd2d39da..7354f465 100644 --- a/src/app/app.ts +++ b/src/app/app.ts @@ -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)