Documentation ¶
Overview ¶
Package lined is line editor, supports operations on terminal.
Supported operations includes short-cut like Ctrl-A Ctrl-E Ctrl-C Ctrl-D... and UP/DOWN for history.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cfg ¶
type Cfg struct {
Prompt string
}
Cfg is the options that lined supports, used when New the Editor instance.
type Editor ¶
type Editor struct {
// contains filtered or unexported fields
}
Editor is the instance of a line editor
Click to show internal directories.
Click to hide internal directories.