Skip to content

Commit

Permalink
no destructuring
Browse files Browse the repository at this point in the history
  • Loading branch information
swisshero1989 committed Feb 8, 2024
1 parent cfcc8cd commit 4637eb4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,9 @@ function MatrixRain(opts) {
}

function resizeDroplets() {
[numCols, numRows] = process.stdout.getWindowSize();
const windowSize = process.stdout.getWindowSize();
const numCols = windowSize.numCols;
const numRows = windowSize.numRows;

if (maskConf) {
maskConf.width = numCols;
Expand Down

0 comments on commit 4637eb4

Please sign in to comment.