tty

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(pos geom.Vec2, dst, src *State)

func Swap

func Swap(
	info *terminfo.Terminfo,
	dst, src *State,
) []byte

Types

type State

type State struct {
	Image         image.Image
	Cursor        emu.Cursor
	CursorVisible bool
}

func Capture

func Capture(view emu.View) *State

func New

func New(size geom.Vec2) *State

func (*State) Clone

func (s *State) Clone() *State

Jump to

Keyboard shortcuts

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