// ExecResize changes the size of the tty for an exec process running inside a container.
ExecResize changes the size of the tty for an exec process running inside a container.
// ExecResize changes the size of the tty for an exec process running inside a container .
func (cli *Client) ExecResize(execID string, width int, height int) error {
	query := url.Values{}
	query.Set("h", strconv.Itoa(int(height)))
	query.Set("w", strconv.Itoa(int(width)))
	_, err := cli.post("/exec/"+execID+"/resize", query, nil, nil)
	return err
}
func ( cli * Client ) ExecResize ( execID string , width int , height int ) error { query := url . Values { } query . Set ( " " , strconv . Itoa ( int ( height ) ) ) query . Set ( " " , strconv . Itoa ( int ( width ) ) ) _ , err := cli . post ( " " + execID + " " , query , nil , nil ) return err }
ExecResize changes the size of the tty for an exec process running inside a container.
ExecResize changes the size of the tty for an exec process running inside a container .