Fix weird paste issue: #405

Fix #405
This commit is contained in:
Paris Kasidiaris
2016-12-14 01:45:53 +02:00
parent 69e027394d
commit ab87dece0b
+3
View File
@@ -433,6 +433,9 @@ Terminal.prototype.initGlobal = function() {
on(this.textarea, 'paste', function (ev) {
pasteHandler.call(this, ev, term);
});
on(this.element, 'paste', function (ev) {
pasteHandler.call(this, ev, term);
});
function rightClickHandlerWrapper (ev) {
rightClickHandler.call(this, ev, term);