string
This commit is contained in:
parent
2d25273543
commit
744d82a30a
@ -56,7 +56,7 @@ function TerminalComponent (p: {websocket: string|null}) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
terminal.current.onResize(({cols, rows})=>{
|
terminal.current.onResize(({cols, rows})=>{
|
||||||
socket.send(JSON.stringify({CommandType: 'resize', Arguments: [rows, cols]}));
|
socket.send(JSON.stringify({CommandType: 'resize', Arguments: [String(rows), String(cols)]}));
|
||||||
})
|
})
|
||||||
|
|
||||||
socket.addEventListener('message', (event) => {
|
socket.addEventListener('message', (event) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user