From 4fdfd7d55ebb9a583f40ae8ab868f7b178662f31 Mon Sep 17 00:00:00 2001 From: ACoolName Date: Mon, 27 May 2024 23:25:36 +0300 Subject: [PATCH] removed open action --- src/terminal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/terminal.tsx b/src/terminal.tsx index 30e199e..9f9f92e 100644 --- a/src/terminal.tsx +++ b/src/terminal.tsx @@ -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})=>{