summaryrefslogtreecommitdiffstats
path: root/pkg/gui/keybindings.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2018-12-18 22:19:32 +1100
committerJesse Duffield <jessedduffield@gmail.com>2018-12-18 22:19:32 +1100
commit865c7c2332d71704b8a6bc22472313daf4997f16 (patch)
treea21ca94ab87395f99e7ea537e3ad95eb177c4511 /pkg/gui/keybindings.go
parent11c7cbe3ac2adf4f6e717640df7a49e5a916d753 (diff)
minor refactor of credentials panel into its own file
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r--pkg/gui/keybindings.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go
index b996e2e95..576fee59a 100644
--- a/pkg/gui/keybindings.go
+++ b/pkg/gui/keybindings.go
@@ -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,