Commit e512e9cd authored by ibuler's avatar ibuler

Merge branch 'master' into dev

parents 7b4b6630 669c22ad
...@@ -47,6 +47,15 @@ export class ElementSshTermComponent implements OnInit, OnDestroy { ...@@ -47,6 +47,15 @@ export class ElementSshTermComponent implements OnInit, OnDestroy {
} }
}); });
this.view.Term = this.term; this.view.Term = this.term;
this.term.attachCustomKeyEventHandler(e => {
if (e.ctrlKey && e.key == 'c' && term.hasSelection()) {
return false;
}
if (e.ctrlKey && e.key == 'v') {
return false;
}
return true;
})
} }
changeWinSize(size: Array<number>) { changeWinSize(size: Array<number>) {
......
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