mirror of
https://github.com/mrusme/superhighway84.git
synced 2024-11-15 06:12:48 +00:00
Fixed home/end bug
This commit is contained in:
parent
ac08eea74c
commit
413aee5a69
@ -341,9 +341,9 @@ func (mainscreen *Mainscreen) HandleInput(event *tcell.EventKey) (*tcell.EventKe
|
||||
mainscreen.T.App.QueueEvent(tcell.NewEventKey(tcell.KeyRight, 0, tcell.ModNone))
|
||||
return nil
|
||||
case "additional-key-home":
|
||||
mainscreen.T.App.QueueEvent(tcell.NewEventKey(tcell.KeyEnd, 0, tcell.ModNone))
|
||||
case "additional-key-end":
|
||||
mainscreen.T.App.QueueEvent(tcell.NewEventKey(tcell.KeyHome, 0, tcell.ModNone))
|
||||
case "additional-key-end":
|
||||
mainscreen.T.App.QueueEvent(tcell.NewEventKey(tcell.KeyEnd, 0, tcell.ModNone))
|
||||
}
|
||||
|
||||
return event
|
||||
|
Loading…
Reference in New Issue
Block a user