mirror of
https://github.com/Cameri/nostream.git
synced 2025-07-03 20:00:37 +02:00
fix: ascii logo
This commit is contained in:
@ -38,7 +38,7 @@ export class App implements IRunnable {
|
|||||||
░ ░░ ░ ▒░ ░ ▒ ▒░ ░ ░▒ ░ ░ ░ ░▒ ░ ▒░ ░ ░ ░ ▒ ▒▒ ░░ ░ ░
|
░ ░░ ░ ▒░ ░ ▒ ▒░ ░ ░▒ ░ ░ ░ ░▒ ░ ▒░ ░ ░ ░ ▒ ▒▒ ░░ ░ ░
|
||||||
░ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ░ ░░ ░ ░ ░ ▒ ░ ░
|
░ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ░ ░░ ░ ░ ░ ▒ ░ ░
|
||||||
░ ░ ░ ░ ░ ░ ░ ░ ░ ░`)
|
░ ░ ░ ░ ░ ░ ░ ░ ░ ░`)
|
||||||
const width = 114
|
const width = 74
|
||||||
const logCentered = (input: string, width: number) => {
|
const logCentered = (input: string, width: number) => {
|
||||||
const start = (width >> 1) - (input.length >> 1)
|
const start = (width >> 1) - (input.length >> 1)
|
||||||
console.log(' '.repeat(start), input)
|
console.log(' '.repeat(start), input)
|
||||||
|
Reference in New Issue
Block a user