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})=>{