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

@ -146,9 +146,10 @@
var socket = new WebSocket(wsUri + '?file_path=' + file_path);
var term = new Terminal({
cols: 80,
rows: 24,
screenKeys: false
cols: 80,
rows: 24,
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>');