removed open action

This commit is contained in:
ACoolName 2024-05-27 23:25:36 +03:00
parent f2e33ba8e6
commit 4fdfd7d55e

View File

@ -48,7 +48,7 @@ function TerminalComponent (p: {websocket: string|null}) {
const socket = new WebSocket(websocket);
socket.addEventListener('open', () => {
socket.send(JSON.stringify({CommandType: 'resize', Arguments: [terminal.current?.rows, terminal.current?.cols]}));
// socket.send(JSON.stringify({CommandType: 'resize', Arguments: [terminal.current?.rows, terminal.current?.cols]}));
});
terminal.current.onResize(({cols, rows})=>{