Fix file/directory paste

This commit is contained in:
Labhansh Agrawal 2021-07-21 11:47:53 +05:30
parent dfa3ed637f
commit 71c95b5bbd

View file

@ -262,8 +262,7 @@ export default class Term extends React.PureComponent<TermProps> {
if (processed) {
e.preventDefault();
e.stopPropagation();
// eslint-disable-next-line @typescript-eslint/no-unsafe-call
(this.term as any)._core.handler(processed);
this.term.paste(processed);
}
};