gui

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gui

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

Gui wraps the gocui Gui object which handles rendering and events.

func New

func New(g *gocui.Gui, c *client.Client) (*Gui, error)

New builds a new gui handler.

func (*Gui) Gui added in v0.11.1

func (gui *Gui) Gui() *gocui.Gui

Gui returns a pointer of a gocui.Gui instance.

func (*Gui) Run

func (gui *Gui) Run() error

Run setup the gui with keybindings and start the mainloop.

Jump to

Keyboard shortcuts

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