Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultDetachKeys = "ctrl-p,ctrl-q"
Variables ¶
This section is empty.
Functions ¶
func HandleConsoleResize ¶
HandleConsoleResize resizes the console. From https://github.com/containerd/containerd/blob/v1.7.0-rc.2/cmd/ctr/commands/tasks/tasks_unix.go#L43-L68
func NewDetachableStdin ¶ added in v1.5.0
NewDetachableStdin returns an io.Reader that uses a TTY proxy reader to read from stdin and detect when the specified detach keys are read, in which case closer will be called.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.