Documentation
¶
Index ¶
Constants ¶
View Source
const ( Null = 0 CtrlA = 1 CtrlB = 2 CtrlC = 3 CtrlD = 4 CtrlE = 5 CtrlF = 6 Bell = 7 CtrlH = 8 Tab = 9 CtrlJ = 10 Kill = 11 CtrlL = 12 Enter = 13 Next = 14 Prev = 16 BckSearch = 18 FwdSearch = 19 Transpose = 20 CtrlU = 21 CtrlW = 23 CtrlY = 25 CtrlZ = 26 Esc = 27 Backspace = 127 )
Variables ¶
View Source
var ( ErrComplete = errors.New("Complete") // readline complete ErrInterrupt = errors.New("Interrupt") )
Functions ¶
This section is empty.
Types ¶
type History ¶
type History struct {
// contains filtered or unexported fields
}
TODO: implement history persistence
func NewHistory ¶
type Terminal ¶
type Terminal struct {
// contains filtered or unexported fields
}
func NewTerminal ¶
Click to show internal directories.
Click to hide internal directories.