Skip to content

Commit

Permalink
Fixed home/end bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mrusme committed Jan 18, 2022
1 parent ac08eea commit 1a7f704
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tui/mainscreen.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a7f704

Please sign in to comment.