Skip to content

Commit

Permalink
Documentation fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
cronvel committed Nov 27, 2016
1 parent 0872434 commit ef155b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation.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 ef155b8

Please sign in to comment.