command

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2019 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Help

func Help() []string

Types

type Command

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

func New

func New(buffer []rune) *Command

func (*Command) Append

func (c *Command) Append(b rune) *Command

func (*Command) Back

func (c *Command) Back() bool

func (*Command) Buffer

func (c *Command) Buffer() []rune

func (*Command) Choice

func (c *Command) Choice() int

func (*Command) Choices

func (c *Command) Choices() []int

func (*Command) Clear

func (c *Command) Clear() bool

func (*Command) Clone

func (c *Command) Clone() *Command

func (*Command) Delete

func (c *Command) Delete() []int

func (*Command) Done

func (c *Command) Done() bool

func (*Command) Equal

func (c *Command) Equal(cmd *Command) bool

func (*Command) Exit

func (c *Command) Exit() bool

func (*Command) Forward

func (c *Command) Forward() bool

func (*Command) Help

func (c *Command) Help() bool

func (*Command) Info

func (c *Command) Info() int

func (*Command) IsText

func (c *Command) IsText() bool

func (*Command) Move

func (c *Command) Move() (from int, to int)

func (*Command) Next

func (c *Command) Next() bool

func (*Command) Pause

func (c *Command) Pause() bool

func (*Command) Playlist

func (c *Command) Playlist() bool

func (*Command) Pop

func (c *Command) Pop() *Command

func (*Command) Prev

func (c *Command) Prev() bool

func (*Command) Rand

func (c *Command) Rand() bool

func (*Command) Result

func (c *Command) Result() search.Result

func (*Command) Scroll

func (c *Command) Scroll() int

func (*Command) Search

func (c *Command) Search() string

func (*Command) SeekBack

func (c *Command) SeekBack() bool

func (*Command) SeekForward

func (c *Command) SeekForward() bool

func (*Command) SetDone

func (c *Command) SetDone() *Command

func (*Command) SetResult

func (c *Command) SetResult(r search.Result) *Command

func (*Command) String

func (c *Command) String() string

func (*Command) Truncate

func (c *Command) Truncate()

func (*Command) URL

func (c *Command) URL() string

func (*Command) Volume

func (c *Command) Volume() int

Jump to

Keyboard shortcuts

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