[enh] send request if enter pressed in the url view

pull/2/head
Adam Tauber 8 years ago
parent 7b6d5eeaea
commit aad564918a

@ -326,6 +326,7 @@ func (a *App) SetKeys(g *gocui.Gui) {
g.SetKeybinding("", gocui.KeyCtrlK, gocui.ModNone, a.PrevView)
g.SetKeybinding("", gocui.KeyCtrlR, gocui.ModNone, a.SubmitRequest)
g.SetKeybinding("url", gocui.KeyEnter, gocui.ModNone, a.SubmitRequest)
// responses common keybindings
for _, view := range []string{"response-body", "response-headers"} {

Loading…
Cancel
Save