File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change <
8000
button class="Button Button--iconOnly Button--invisible ExpandableHunkHeaderDiffLine-module__expand-button-line--iUeM1 ExpandableHunkHeaderDiffLine-module__expand-button-unified--zEXxI" aria-label="Expand file up from line 55" data-direction="up" aria-hidden="true" tabindex="-1">
@@ -55,7 +55,7 @@ function WriteStream(fd) {
5555 // Ref: https://github.com/nodejs/node/pull/1771#issuecomment-119351671
5656 this . _handle . setBlocking ( process . env . NODE_TTY_UNSAFE_ASYNC !== '1' ) ;
5757
58- var winSize = [ ] ;
58+ var winSize = new Array ( 2 ) ;
5959 var err = this . _handle . getWindowSize ( winSize ) ;
6060 if ( ! err ) {
6161 this . columns = winSize [ 0 ] ;
@@ -72,7 +72,7 @@ WriteStream.prototype.isTTY = true;
7272WriteStream . prototype . _refreshSize = function ( ) {
7373 var oldCols = this . columns ;
7474 var oldRows = this . rows ;
75- var winSize = [ ] ;
75+ var winSize = new Array ( 2 ) ;
7676 var err = this . _handle . getWindowSize ( winSize ) ;
7777 if ( err ) {
7878 this . emit ( 'error' , errnoException ( err , 'getWindowSize' ) ) ;
You can’t perform that action at this time.
0 commit comments