mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
Windows: Fix width/height swap
Signed-off-by: John Howard <jhoward@microsoft.com> Upstream-commit: f11f351ae77e4090f0d80e9cccfd77287b1f6b17 Component: engine
This commit is contained in:
@@ -934,7 +934,7 @@ func (c *client) ResizeTerminal(_ context.Context, containerID, processID string
|
||||
"width": width,
|
||||
"pid": p.pid,
|
||||
}).Debug("resizing")
|
||||
return p.hcsProcess.ResizeConsole(uint16(height), uint16(width))
|
||||
return p.hcsProcess.ResizeConsole(uint16(width), uint16(height))
|
||||
}
|
||||
|
||||
func (c *client) CloseStdin(_ context.Context, containerID, processID string) error {
|
||||
|
||||
Reference in New Issue
Block a user