cmdline

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2023 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 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