Commit 852de35e authored by Tad Wang's avatar Tad Wang

fix term.js input error problem

handler is undefined.
parent 6fbb3874
......@@ -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>');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment