emulator

package
v0.0.0-...-4c6aa5d Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Emulator

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

func New

func New() *Emulator

func (*Emulator) Draw

func (e *Emulator) Draw(buf *termui.Buffer)

func (*Emulator) GetRect

func (e *Emulator) GetRect() image.Rectangle

Drawable functions

func (*Emulator) HandleUiEvent

func (e *Emulator) HandleUiEvent(event termui.Event)

func (*Emulator) Lock

func (e *Emulator) Lock()

func (*Emulator) SetRect

func (e *Emulator) SetRect(x1, y1, x2, y2 int)

func (*Emulator) Unlock

func (e *Emulator) Unlock()

Jump to

Keyboard shortcuts

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