Documentation ¶ Index ¶ type Emulator func New() *Emulator func (e *Emulator) Draw(buf *termui.Buffer) func (e *Emulator) GetRect() image.Rectangle func (e *Emulator) HandleUiEvent(event termui.Event) func (e *Emulator) Lock() func (e *Emulator) SetRect(x1, y1, x2, y2 int) func (e *Emulator) Unlock() 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() Source Files ¶ View all Source files emulator.go Click to show internal directories. Click to hide internal directories.