(execOptions *client.ExecCreateOptions, dockerCli command.Cli)
| 130 | } |
| 131 | |
| 132 | func fillConsoleSize(execOptions *client.ExecCreateOptions, dockerCli command.Cli) { |
| 133 | if execOptions.TTY { |
| 134 | height, width := dockerCli.Out().GetTtySize() |
| 135 | execOptions.ConsoleSize = client.ConsoleSize{Height: height, Width: width} |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | func interactiveExec(ctx context.Context, dockerCli command.Cli, execOptions *client.ExecCreateOptions, execID string) error { |
| 140 | // Interactive exec requested. |
no test coverage detected
searching dependent graphs…