Skip to content

Commit

Permalink
Merge pull request cronvel#15 from mradbourne/patch-1
Browse files Browse the repository at this point in the history
Fixed variable name in grabInput example
  • Loading branch information
cronvel authored Nov 27, 2016
2 parents d90df96 + bb94e00 commit 0872434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ term.grabInput( { mouse: 'button' } ) ;

term.on( 'key' , function( name , matches , data ) {
console.log( "'key' event:" , name ) ;
if ( key === 'CTRL_C' ) { terminate() ; }
if ( name === 'CTRL_C' ) { terminate() ; }
} ) ;

term.on( 'terminal' , function( name , data ) {
Expand Down

0 comments on commit 0872434

Please sign in to comment.