Skip to content
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

Merged
merged 1 commit into from
Sep 16, 2016
Merged

ConsoleSize --> uint #67

merged 1 commit into from
Sep 16, 2016

Conversation

lowenna
Copy link
Contributor

@lowenna lowenna commented Sep 15, 2016

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.

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
Copy link
Contributor

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).

Copy link
Contributor

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

Copy link
Contributor Author

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Following offline discussion, LGTM

@darstahl
Copy link
Contributor

LGTM

@lowenna lowenna merged commit d8e08e7 into master Sep 16, 2016
@lowenna lowenna deleted the jjh/consolesize branch September 16, 2016 17:29
dcantah pushed a commit to dcantah/hcsshim that referenced this pull request Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants