cmdline

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2020 License: MIT Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmdline

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

Cmdline implements editor.Cmdline

func NewCmdline

func NewCmdline() *Cmdline

NewCmdline creates a new Cmdline.

func (*Cmdline) Get

func (c *Cmdline) Get() ([]rune, int, []string, int)

Get returns the current state of cmdline.

func (*Cmdline) Init

func (c *Cmdline) Init(eventCh chan<- event.Event, cmdlineCh <-chan event.Event, redrawCh chan<- struct{})

Init initializes the Cmdline.

func (*Cmdline) Run

func (c *Cmdline) Run()

Run the cmdline.

Jump to

Keyboard shortcuts

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