Registry / utility / containerd-console

containerd-console

JSON →
library1.0.5gogounverified

A Go library for working with console (terminal) devices, used by containerd.

go get github.com/containerd/console
INSTALL
IMPORT
SIG · CONTAINERD-CONSOLE
C
containerd-console
utilitygov1.0.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

console
github.com/containerd/console

Switches the terminal to raw mode and restores it on exit.

package main import ( "fmt" "github.com/containerd/console" ) func main() { current, err := console.Current() if err != nil { panic(err) } defer current.Reset() if err := current.SetRaw(); err != nil { panic(err) } fmt.Println("Terminal in raw mode") }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.5latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
containerd-console — go get containerd-console · libregistry