1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-31 14:24:25 +03:00

Disable global keybinds while popups are active

This commit is contained in:
Chris McDonnell
2025-02-20 13:02:33 -05:00
committed by Stefan Haller
parent b2fd6128f6
commit b766ff9c83
5 changed files with 12 additions and 47 deletions

View File

@ -42,7 +42,7 @@ func (self *JumpToSideWindowController) GetKeybindings(opts types.KeybindingsOpt
// by default the keys are 1, 2, 3, etc
Key: opts.GetKey(opts.Config.Universal.JumpToBlock[index]),
Modifier: gocui.ModNone,
Handler: self.goToSideWindow(window),
Handler: opts.Guards.NoPopupPanel(self.goToSideWindow(window)),
}
})
}