summaryrefslogtreecommitdiffstats
path: root/pkg/gui/keybindings.go
diff options
context:
space:
mode:
authormjarkk <mkopenga@gmail.com>2018-10-20 17:37:55 +0200
committermjarkk <mkopenga@gmail.com>2018-10-20 17:37:55 +0200
commit12425f0aa760759d916ef16bbd028b2c2de5577b (patch)
tree882223eb8ea4a251a7084597e71743f649da656c /pkg/gui/keybindings.go
parent727ba9f42ec0678a7da7124f8befc81550361019 (diff)
First good success
Diffstat (limited to 'pkg/gui/keybindings.go')
-rw-r--r--pkg/gui/keybindings.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/gui/keybindings.go b/pkg/gui/keybindings.go
index 78271a3f7..a30dba5f4 100644
--- a/pkg/gui/keybindings.go
+++ b/pkg/gui/keybindings.go
@@ -373,6 +373,16 @@ func (gui *Gui) GetKeybindings() []*Binding {
Modifier: gocui.ModNone,
Handler: gui.handleCommitClose,
}, {
+ ViewName: "pushPassUname",
+ Key: gocui.KeyEnter,
+ Modifier: gocui.ModNone,
+ Handler: gui.handlePushConfirm,
+ }, {
+ ViewName: "pushPassUname",
+ Key: gocui.KeyEsc,
+ Modifier: gocui.ModNone,
+ Handler: gui.handlePushClose,
+ }, {
ViewName: "menu",
Key: gocui.KeyEsc,
Modifier: gocui.ModNone,