diff --git a/lib/components/term.tsx b/lib/components/term.tsx
index 4523c61c2fc9..e034f5791a5d 100644
--- a/lib/components/term.tsx
+++ b/lib/components/term.tsx
@@ -7,7 +7,8 @@ import {SearchAddon} from 'xterm-addon-search';
 import {WebglAddon} from 'xterm-addon-webgl';
 import {LigaturesAddon} from 'xterm-addon-ligatures';
 import {Unicode11Addon} from 'xterm-addon-unicode11';
-import {clipboard, remote /*, shell */} from 'electron';
+import {clipboard /*, shell */} from 'electron';
+import remote from '@electron/remote';
 import Color from 'color';
 import terms from '../terms';
 import processClipboard from '../utils/paste';