mirror of
https://github.com/Cameri/nostream.git
synced 2025-04-12 13:49:10 +02:00
fix: ascii logo
This commit is contained in:
parent
86151e0a2d
commit
5205871cc8
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user