1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

When using the panel jump keys and the target panel is already active, switch tabs

This commit is contained in:
Stefan Haller
2024-08-03 15:55:28 +02:00
parent c72be6cbf3
commit b37d6dcd1c
4 changed files with 44 additions and 2 deletions

View File

@ -197,7 +197,7 @@ func (gui *Gui) resetHelpersAndControllers() {
commandLogController := controllers.NewCommandLogController(common)
confirmationController := controllers.NewConfirmationController(common)
suggestionsController := controllers.NewSuggestionsController(common)
jumpToSideWindowController := controllers.NewJumpToSideWindowController(common)
jumpToSideWindowController := controllers.NewJumpToSideWindowController(common, gui.handleNextTab)
sideWindowControllerFactory := controllers.NewSideWindowControllerFactory(common)