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

fix term.js input error problem

handler is undefined.
parent 6fbb3874
...@@ -148,7 +148,8 @@ ...@@ -148,7 +148,8 @@
var term = new Terminal({ var term = new Terminal({
cols: 80, cols: 80,
rows: 24, 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>'); 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