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

minor refactor of credentials panel into its own file

This commit is contained in:
Jesse Duffield
2018-12-18 22:19:32 +11:00
parent 11c7cbe3ac
commit 865c7c2332
4 changed files with 110 additions and 104 deletions

View File

@ -397,12 +397,12 @@ func (gui *Gui) GetKeybindings() []*Binding {
ViewName: "credentials",
Key: gocui.KeyEnter,
Modifier: gocui.ModNone,
Handler: gui.handlePushConfirm,
Handler: gui.handleSubmitCredential,
}, {
ViewName: "credentials",
Key: gocui.KeyEsc,
Modifier: gocui.ModNone,
Handler: gui.handlePushClose,
Handler: gui.handleCloseCredentialsView,
}, {
ViewName: "menu",
Key: gocui.KeyEsc,