code: func resizeTty(ctx context.Context, cli command.Cli, id string, isExec bool) error {
  	height, width := cli.Out().GetTtySize()
  	return resizeTtyTo(ctx, cli.Client(), id, height, width, isExec)
  }
docs: // resizeTty is to resize the tty with cli out's tty size