mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
9ae9d4c87a
Signed-off-by: John Howard <jhoward@microsoft.com>
21 lines
363 B
Go
21 lines
363 B
Go
// +build windows
|
|
|
|
package windows
|
|
|
|
// StdConsole is for when using a container non-interactively
|
|
type StdConsole struct {
|
|
}
|
|
|
|
func NewStdConsole() *StdConsole {
|
|
return &StdConsole{}
|
|
}
|
|
|
|
func (s *StdConsole) Resize(h, w int) error {
|
|
// we do not need to resize a non tty
|
|
return nil
|
|
}
|
|
|
|
func (s *StdConsole) Close() error {
|
|
// nothing to close here
|
|
return nil
|
|
}
|