internal

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: May 26, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultTTYDevice

func DefaultTTYDevice() string

func IsDefaultTTY added in v0.0.3

func IsDefaultTTY(ptyName string) bool

Types

type Arger

type Arger interface{ Args() []string }

Arger is for passing extra arguments to the default terminal execution call e.g. disabling daemonizing (domterm)

type Closer

type Closer interface {
	Close() error
	OnClose(onClose func() error)
	AddClosers(closers ...interface{ Close() error })
}

func NewCloser

func NewCloser() Closer

type ImageEncoder

type ImageEncoder interface {
	Encode(w io.Writer, img image.Image, fileExt string) error
}

Jump to

Keyboard shortcuts

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