test your code, kids
parent
cafdb55183
commit
13b3bc7008
|
|
@ -9,9 +9,9 @@ module.exports.title = function(component, cls = true) {
|
||||||
if(cls) {
|
if(cls) {
|
||||||
process.stdout.cursorTo(0, 0);
|
process.stdout.cursorTo(0, 0);
|
||||||
process.stdout.clearScreenDown();
|
process.stdout.clearScreenDown();
|
||||||
|
}
|
||||||
const bigDisplay = process.stdout.getWindowSize()[1] > 45
|
const bigDisplay = process.stdout.getWindowSize()[1] > 45
|
||||||
if(bigDisplay) console.log();
|
if(bigDisplay) console.log();
|
||||||
}
|
|
||||||
|
|
||||||
// centerString(`
|
// centerString(`
|
||||||
// /\\ .-. .-. .-.-.;;;;;;'
|
// /\\ .-. .-. .-.-.;;;;;;'
|
||||||
|
|
|
||||||
Reference in New Issue