tcellimg

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

type Image struct {
	*views.CellView
	*term.Canvas
	// contains filtered or unexported fields
}

func NewImage

func NewImage(img image.Image, bounds image.Rectangle, tm *term.Terminal, scr tcell.Screen) (*Image, error)

func (*Image) Close

func (m *Image) Close() error

func (*Image) Draw

func (m *Image) Draw()

func (*Image) Video

func (m *Image) Video(ctx context.Context, vid <-chan image.Image, frameDur time.Duration) error

Jump to

Keyboard shortcuts

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