eth colors
This commit is contained in:
1 parent
601d73b069
commit
0acb006e89
1 file changed
+2
-2
@@ -70,11 +70,11 @@ Promise.all([
|
||||
console.log(`Swap: ${readable(stats.swap.used)} MB out of ${readable(stats.swap.total)} MB\n${bar(stats.swap.used, stats.swap.total, ['\x1b[93m=', '-'])}`)
|
||||
console.log()
|
||||
|
||||
console.log(`Public IP: \x1b[36m${stats.public}\x1b[0m`)
|
||||
console.log(`Public IP: \x1b[34m${stats.public}\x1b[0m`)
|
||||
|
||||
for (let nic in stats.nics) {
|
||||
if (nic === 'spaces') continue
|
||||
console.log(` ${nic}:${' '.repeat(stats.nics.spaces - nic.length + 1)}${stats.nics[nic].mac} - ${stats.nics[nic].addr}`)
|
||||
console.log(` ${nic}:${' '.repeat(stats.nics.spaces - nic.length + 1)}${stats.nics[nic].mac} - \x1b[36m${stats.nics[nic].addr}\x1b[0m`)
|
||||
}
|
||||
|
||||
})
|
||||
Reference in new issue
Block a user