term

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Detect

func Detect(pref string) (string, error)

func Lock

func Lock()

func Unlock

func Unlock()

Types

type DrawReq

type DrawReq struct {
	Path       string
	X, Y, W, H int
	// contains filtered or unexported fields
}

type Renderer

type Renderer interface {
	Name() string
	ClearAll() error
	Draw(path string, cellX, cellY, cellW, cellH int) error
	Close() error
}

func New

func New(backend string) (Renderer, error)

type Scheduler

type Scheduler struct {
	// contains filtered or unexported fields
}

func NewScheduler

func NewScheduler(r Renderer, buf int) *Scheduler

func (*Scheduler) Close

func (s *Scheduler) Close()

func (*Scheduler) Drain

func (s *Scheduler) Drain()

func (*Scheduler) Enqueue

func (s *Scheduler) Enqueue(path string, x, y, w, h int)

func (*Scheduler) NextFrame

func (s *Scheduler) NextFrame()

Jump to

Keyboard shortcuts

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