1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/execdriver/windows/stdconsole.go
John Howard 9ae9d4c87a Windows: Exec driver
Signed-off-by: John Howard <jhoward@microsoft.com>
2015-07-10 13:36:56 -07:00

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
}