Browse Source

Feature: Up arrow to edit previous message

pull/22/head
Gregory Rudolph 5 years ago
parent
commit
3b0711a782
  1. 7
      main.go

7
main.go

@ -150,6 +150,13 @@ func initKeybindings() error { @@ -150,6 +150,13 @@ func initKeybindings() error {
}); err != nil {
return err
}
if err := g.SetKeybinding("Input", gocui.KeyArrowUp, gocui.ModNone,
func(g *gocui.Gui, v *gocui.View) error {
RunCommand("edit")
return nil
}); err != nil {
return err
}
return nil
}

Loading…
Cancel
Save