From 47e34f511de36eba71509ad56b92b2a6d19ea040 Mon Sep 17 00:00:00 2001 From: Takuya Matsuyama Date: Mon, 4 Apr 2022 17:25:56 +0900 Subject: [PATCH] fix(term): use @electron/remote --- lib/components/term.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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';