controller

package
v0.0.0-...-e77d027 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	Done chan struct{}
	// contains filtered or unexported fields
}

func (*Controller) KeyPressed

func (c *Controller) KeyPressed(name string, mod key.Modifiers)

func (*Controller) Render

func (c *Controller) Render() <-chan struct{}

Render returns a channel that will get signal every time we need to redraw the terminal GUI

func (*Controller) Resize

func (c *Controller) Resize(cols, rows int)

func (*Controller) Runes

func (c *Controller) Runes() []buffer.BrushedRune

func (*Controller) Start

func (c *Controller) Start(shell string, cols, rows int) error

func (*Controller) Started

func (c *Controller) Started() bool

Jump to

Keyboard shortcuts

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