cmdline

package
Version: v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 License: MIT Imports: 9 Imported by: 0

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
t or T : Toggle theme light dark auto
y or Y : Canonical URL