1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-06 22:33:07 +02:00

Allow focusing the main view for the status panel

I left this out originally because it's not needed for the status "dashboard"
view (except on really tiny screens); however, it *is* useful after pressing `a`
to show the all branches log, and even more so for people who use the
"statusPanelView: allBranchesLog" config. And it doesn't really hurt for the
dashboard view either, so just enable it always rather than making a distinction
which view we are showing.
This commit is contained in:
Stefan Haller
2025-07-19 12:46:51 +02:00
parent 837efd95e2
commit b9f4c43695
10 changed files with 10 additions and 0 deletions

View File

@ -260,6 +260,7 @@ func (gui *Gui) resetHelpersAndControllers() {
}
for _, context := range []types.Context{
gui.State.Contexts.Status,
gui.State.Contexts.Files,
gui.State.Contexts.Branches,
gui.State.Contexts.RemoteBranches,