Fixed home/end bug

This commit is contained in:
マリウス 2022-01-18 00:12:39 -05:00
parent ac08eea74c
commit 413aee5a69
No known key found for this signature in database
GPG Key ID: 272ED814BF63261F

View File

@ -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