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