fix: 修复`AttachAddon`会将数据以raw形式重复发送的问题

pull/537/head
Wankko Ree 2023-04-05 23:32:22 +08:00 committed by zhengkunwang223
parent 12beef49b5
commit 57a6417812
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ const initTerm = () => {
); );
} }
}); });
term.value.loadAddon(new AttachAddon(terminalSocket.value)); term.value.loadAddon(new AttachAddon(terminalSocket.value, { bidirectional: false }));
term.value.loadAddon(fitAddon); term.value.loadAddon(fitAddon);
termReady.value = true; termReady.value = true;
} }