diff --git a/lib/components/term.tsx b/lib/components/term.tsx index 54adb89a..9febd372 100644 --- a/lib/components/term.tsx +++ b/lib/components/term.tsx @@ -262,8 +262,7 @@ export default class Term extends React.PureComponent { 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); } };