We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e189e3 commit 3da650dCopy full SHA for 3da650d
1 file changed
core/layout/app.go
@@ -51,10 +51,10 @@ func Layout() {
51
resto is a cli app can send pretty HTTP & API requests from your terminal.
52
53
Shortcuts:
54
- - Ctrl+P: Open Renio Panel
+ - Ctrl+P: Open Resto Panel
55
- Ctrl+H: Open Help Guide
56
- Ctrl+S: Save Request Body
57
- - Ctrl+Q: Quit
+ - Ctrl+Q: Quit
58
`
59
60
fmt.Fprintf(helpText, "%s ", help)
@@ -285,11 +285,7 @@ func Layout() {
285
if key == tcell.KeyEnter {
286
doneFunc(input.GetText())
287
fileNameInput.RemovePage("input")
288
- }
289
- })
290
-
291
- input.SetDoneFunc(func(key tcell.Key) {
292
- if key == tcell.KeyEsc {
+ } else if key == tcell.KeyEsc {
293
app.SetRoot(flex, true).SetFocus(requestForm)
294
}
295
})
0 commit comments