mirror of https://github.com/chzyer/readline.git
36 lines
577 B
Go
36 lines
577 B
Go
package readline
|
|
|
|
const (
|
|
CharLineStart = 1
|
|
CharBackward = 2
|
|
CharInterrupt = 3
|
|
CharDelete = 4
|
|
CharLineEnd = 5
|
|
CharForward = 6
|
|
CharBell = 7
|
|
CharCtrlH = 8
|
|
CharTab = 9
|
|
CharCtrlJ = 10
|
|
CharKill = 11
|
|
CharEnter = 13
|
|
CharNext = 14
|
|
CharPrev = 16
|
|
CharBckSearch = 18
|
|
CharFwdSearch = 19
|
|
CharTranspose = 20
|
|
CharCtrlU = 21
|
|
CharCtrlW = 23
|
|
CharCtrlZ = 26
|
|
CharEsc = 27
|
|
CharEscapeEx = 91
|
|
CharBackspace = 127
|
|
)
|
|
|
|
const (
|
|
MetaBackward rune = -iota - 1
|
|
MetaForward
|
|
MetaDelete
|
|
MetaBackspace
|
|
MetaTranspose
|
|
)
|