File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 55 "main" : " index.js" ,
66 "scripts" : {
77 "test" : " gt test/jsTest.js --output" ,
8+ "terminal-test" : " node test/terminal-test.js" ,
89 "use-case" : " node test/use-case.js & node test/use-case-nested.js" ,
910 "semantic-release" : " semantic-release pre && npm publish && semantic-release post" ,
1011 "issues" : " git-issues" ,
2829 "license" : " MIT" ,
2930 "devDependencies" : {
3031 "git-issues" : " 1.2.0" ,
31- "gt" : " 0.9.1 " ,
32+ "gt" : " 0.10.0 " ,
3233 "pre-git" : " 3.8.3" ,
3334 "semantic-release" : " 6.2.1"
3435 },
Original file line number Diff line number Diff line change 1+ 'use strict' ;
2+
3+ console . log ( 'checking terminal resolution' ) ;
4+ console . log ( 'is terminal?' , process . stdout . isTTY ) ;
5+ if ( process . stdout . isTTY ) {
6+ console . log ( 'terminal window size' ,
7+ process . stdout . getWindowSize ( ) ) ;
8+ }
You can’t perform that action at this time.
0 commit comments