From 1f7e5d7767bf53df5b570dd0dd1049a9b57f3a3b Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Tue, 6 Jan 2026 16:16:22 +0100 Subject: [PATCH] When doing ctrl-f, and the resulting commit is not visible, scroll it into view This used to work in the last version, but broke with efd4298b5e91 (#5134). --- pkg/gui/controllers/helpers/fixup_helper.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/gui/controllers/helpers/fixup_helper.go b/pkg/gui/controllers/helpers/fixup_helper.go index c53fa024560..2e3b19e7780 100644 --- a/pkg/gui/controllers/helpers/fixup_helper.go +++ b/pkg/gui/controllers/helpers/fixup_helper.go @@ -137,6 +137,7 @@ func (self *FixupHelper) HandleFindBaseCommitForFixupPress() error { } self.c.Contexts().LocalCommits.SetSelection(index) + self.c.Contexts().LocalCommits.FocusLine(true) self.c.Context().Push(self.c.Contexts().LocalCommits, types.OnFocusOpts{}) return nil },