f
This commit is contained in:
parent
ab715d0ef7
commit
2d25273543
@ -52,7 +52,7 @@ function TerminalComponent (p: {websocket: string|null}) {
|
||||
}
|
||||
|
||||
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})=>{
|
||||
|
Loading…
x
Reference in New Issue
Block a user