This commit is contained in:
ACoolName 2024-05-27 23:48:22 +03:00
parent 744d82a30a
commit d7d0affdec

View File

@ -56,7 +56,7 @@ function TerminalComponent (p: {websocket: string|null}) {
});
terminal.current.onResize(({cols, rows})=>{
socket.send(JSON.stringify({CommandType: 'resize', Arguments: [String(rows), String(cols)]}));
socket.send(JSON.stringify({CommandType: 'resize', Arguments: [String(rows)+String(cols)]}));
})
socket.addEventListener('message', (event) => {