fix term.js input error problem

handler is undefined.
pull/46/head
Tad Wang 2016-01-21 13:02:23 +08:00
parent 6fbb387488
commit 852de35e3e
1 changed files with 4 additions and 3 deletions

View File

@ -148,7 +148,8 @@
var term = new Terminal({
cols: 80,
rows: 24,
screenKeys: false
screenKeys: false,
handler: function(){return false}
});
var tag = $('<div id="term" style="height:500px; overflow: auto;background-color: rgba(0, 0, 0, 0);border: none"></div>');