Help us shape the future of Go! Take the 2026 Go Developer Survey

console

package
v0.0.0-...-62f7242 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Console

type Console struct {
	console.Console
}

Console is a wrapper around containerd's console.Console and ANSI escape codes.

func GetConsole

func GetConsole(f *os.File) (*Console, error)

func (*Console) NewRow

func (c *Console) NewRow()

func (*Console) OutputTo

func (c *Console) OutputTo(upCnt uint, str string)

func (*Console) Restore

func (c *Console) Restore()

func (*Console) Save

func (c *Console) Save()

func (*Console) Size

func (c *Console) Size() (width, height int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL