mirror of
https://github.com/danbulant/bpm
synced 2026-07-06 11:30:38 +00:00
export console width & height
This commit is contained in:
parent
d2a1c18e8a
commit
6189850b43
1 changed files with 3 additions and 0 deletions
|
|
@ -28,6 +28,9 @@ var colors = {
|
||||||
|
|
||||||
class CustomConsole {
|
class CustomConsole {
|
||||||
colors = colors;
|
colors = colors;
|
||||||
|
|
||||||
|
width = process.stdout.columns | 999;
|
||||||
|
height = process.stdout.rows | 999;
|
||||||
output(...args) {
|
output(...args) {
|
||||||
console.log(...args);
|
console.log(...args);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue