mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-22 08:17:50 +00:00
This makes use of the new pasta integration code in container-libs. Signed-off-by: Jan Rodák <hony.com@seznam.cz> Signed-off-by: Paul Holzinger <pholzing@redhat.com>
14 lines
350 B
Go
14 lines
350 B
Go
package mpb
|
|
|
|
import "io"
|
|
|
|
// ConsoleWriter interface.
|
|
// mpb package interacts with terminal via ConsoleWriter interface.
|
|
// Custom implementation can be provided via WithConsoleWriter ContainerOption.
|
|
type ConsoleWriter interface {
|
|
io.Writer
|
|
io.ReaderFrom
|
|
IsTerminal() bool
|
|
GetTermSize() (width, height int, err error)
|
|
Flush(lines int) error
|
|
}
|