Skip to content

Commit

Permalink
Windows: Fix width/height swap
Browse files Browse the repository at this point in the history
Signed-off-by: John Howard <[email protected]>
  • Loading branch information
John Howard committed Nov 28, 2017
1 parent c307e0c commit f11f351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcontainerd/client_local_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f11f351

Please sign in to comment.