-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ConsoleSize --> uint #67
Conversation
Signed-off-by: John Howard <jhoward@microsoft.com>
@@ -16,7 +16,7 @@ type ProcessConfig struct { | |||
CreateStdInPipe bool | |||
CreateStdOutPipe bool | |||
CreateStdErrPipe bool | |||
ConsoleSize [2]int | |||
ConsoleSize [2]uint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is actually used in the platform. We might be ok to just remove it (We already set console size with the ResizeConsole method).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should test without it against TP5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, re TP5: moby/moby#26613 😄. We do use it though to set the initial console size. Following updates are sent through resize.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Following offline discussion, LGTM
LGTM |
Refreshes the client code again
Signed-off-by: John Howard jhoward@microsoft.com
Updates ConsoleSize to be a uint. This is part of the feedback from opencontainers/runtime-spec#563 (comment). It will require a minor tweak to docker once re-vendored.