readline

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Line

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

func (*Line) AppendHistory

func (l *Line) AppendHistory(s string)

func (*Line) ClearHistory

func (l *Line) ClearHistory()

func (*Line) Prompt

func (l *Line) Prompt(prompt string) (result string, err error)

func (*Line) ReadHistory

func (l *Line) ReadHistory(r io.Reader) (n int, err error)

func (*Line) WriteHistory

func (l *Line) WriteHistory(w io.Writer) (n int, err error)

Jump to

Keyboard shortcuts

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