Fixed some bugs with the backspace key mappings
This commit is contained in:
parent
185900d626
commit
82face0010
|
|
@ -85,7 +85,7 @@ const (
|
|||
KeyArrowRight
|
||||
|
||||
KeyBackspace = KeyCtrlH
|
||||
KeyBackspace2 = KeyCtrl8
|
||||
KeyBackspace2
|
||||
KeyEnter = KeyCtrlM
|
||||
KeyEsc = KeyCtrl3
|
||||
)
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ var termboxKeysToSpecialKeys = map[termbox.Key]rune{
|
|||
termbox.KeyArrowDown: KeyArrowDown,
|
||||
termbox.KeyArrowLeft: KeyArrowLeft,
|
||||
termbox.KeyArrowRight: KeyArrowRight,
|
||||
|
||||
termbox.KeyBackspace2: KeyBackspace2,
|
||||
termbox.KeyCtrlA: KeyCtrlA,
|
||||
termbox.KeyCtrlB: KeyCtrlB,
|
||||
termbox.KeyCtrlC: KeyCtrlC,
|
||||
|
|
|
|||
Loading…
Reference in a new issue