Windows: OCI process struct convergence
Signed-off-by: John Howard <jhoward@microsoft.com> Upstream-commit: 53774423ff0db50cb0934e7b1e5ce507363e8147 Component: engine
This commit is contained in:
@ -48,7 +48,7 @@ func (o *OutStream) RestoreTerminal() {
|
||||
}
|
||||
|
||||
// GetTtySize returns the height and width in characters of the tty
|
||||
func (o *OutStream) GetTtySize() (int, int) {
|
||||
func (o *OutStream) GetTtySize() (uint, uint) {
|
||||
if !o.isTerminal {
|
||||
return 0, 0
|
||||
}
|
||||
@ -59,7 +59,7 @@ func (o *OutStream) GetTtySize() (int, int) {
|
||||
return 0, 0
|
||||
}
|
||||
}
|
||||
return int(ws.Height), int(ws.Width)
|
||||
return uint(ws.Height), uint(ws.Width)
|
||||
}
|
||||
|
||||
// NewOutStream returns a new OutStream object from a Writer
|
||||
|
||||
Reference in New Issue
Block a user