v0.1.2

Keyboard Controls

Last updated


This page lists every key in the TUI and how focus moves between panes.

Key Map


KeyScopeFunction
<kbd>↑</kbd> <kbd>↓</kbd>Request listMove the cursor; the right pane previews that request
<kbd>Enter</kbd>Request listSend the selected request and focus the info pane
<kbd>↑</kbd> <kbd>↓</kbd>Info paneScroll the response
<kbd>Tab</kbd>GlobalToggle focus between request list and info pane
<kbd>←</kbd>GlobalFocus the request list
<kbd>→</kbd>GlobalFocus the info pane
<kbd>Ctrl+C</kbd> <kbd>Esc</kbd>GlobalExit

Tab, ←, →, Ctrl+C, and Esc are captured globally by `App.SetInputCapture` and never reach individual widgets; all other keys go to the focused `tview` widget.

Layout


AreaSizeContent
API (left)1/3 widthRequest names; the selected row is highlighted full-width in tcell.ColorDarkCyan
Info (right)2/3 widthRequest preview or response; scrollable with word wrap
Hint bar (bottom)1 rowCurrent request, send status, reload and error messages

Preview and Send


Moving the cursor shows METHOD URL, all headers, and the body in the right pane, and METHOD URL in the hint bar. After <kbd>Enter</kbd>, the right pane shows Sending Resuest and the hint bar shows Sending: name until the response arrives; see Response Display for the response layout.
中文