export console width & height

This commit is contained in:
danbulant 2020-02-19 18:11:13 +01:00
parent d2a1c18e8a
commit 6189850b43

View file

@ -28,6 +28,9 @@ var colors = {
class CustomConsole {
colors = colors;
width = process.stdout.columns | 999;
height = process.stdout.rows | 999;
output(...args) {
console.log(...args);
}