code: func (t *TerminalHandler) windowChange(params *session.TerminalParams) error {
  	if t.sshSession == nil {
  		return nil
  	}
  
  	_, err := t.sshSession.SendRequest(
  		sshutils.WindowChangeRequest,
  		false,
  		ssh.Marshal(sshutils.WinChangeReqParams{
  			W: uint32(params.W),
  			H: uint32(params.H),
  		}))
  	if err != nil {
  		t.log.Error(err)
  	}
  
  	return trace.Wrap(err)
  }
docs: // windowChange is called when the browser window is resized. It sends a
  // "window-change" channel request to the server.