mirror of
https://github.com/danbulant/bpm
synced 2026-05-19 04:08:47 +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 {
|
||||
colors = colors;
|
||||
|
||||
width = process.stdout.columns | 999;
|
||||
height = process.stdout.rows | 999;
|
||||
output(...args) {
|
||||
console.log(...args);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue