Documentation ¶
Index ¶
- type Controller
- func (c *Controller) KeyPressed(name string, mod key.Modifiers)
- func (c *Controller) Render() <-chan struct{}
- func (c *Controller) Resize(cols, rows int)
- func (c *Controller) Runes() []buffer.BrushedRune
- func (c *Controller) Start(shell string, cols, rows int) error
- func (c *Controller) Started() bool
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) Started ¶
func (c *Controller) Started() bool
Click to show internal directories.
Click to hide internal directories.