diff options
| author | srdusr <[email protected]> | 2026-02-05 11:33:00 +0200 |
|---|---|---|
| committer | srdusr <[email protected]> | 2026-02-05 11:33:00 +0200 |
| commit | 8ec54d5ad018828a7e6e40980e9bd9dfaeaa5e7b (patch) | |
| tree | 29064dba0a9787ba88197a12b4748ca02db62a15 /go.sum | |
| parent | c39808cca65bb72211359f4d6be3ba869f0121e6 (diff) | |
| download | mitmux-8ec54d5ad018828a7e6e40980e9bd9dfaeaa5e7b.tar.gz mitmux-8ec54d5ad018828a7e6e40980e9bd9dfaeaa5e7b.zip | |
Status bar and help screen
Baseline TUI UX that should exist regardless of feature parity -
flagged directly by the Burp/ZAP/Caido comparison research as missing.
A persistent one-line status bar (proxy address, live request count,
current view) is now appended to every screen. Fetched once at startup
via a new "status" IPC request (internal/store gains Store.Count();
internal/ipc gains StatusMsg plus a daemon-side handler reading
proxy.Server.Addr through ipc.NewServer's new proxyAddr parameter), then
kept approximately live by incrementing locally on each "new" subscribe
push rather than re-querying every time.
'?' opens a full keybinding reference from every view, gated so it
never shadows literal text entry - it's a no-op while typing in the
search box, a rule form field, or (checked via viTextarea.Mode())
insert-mode text in Repeater/Intruder, where a URL query string
literally starting with '?' is completely ordinary input. Any key
dismisses it and returns to whichever view opened it.
Every existing height calculation (table, viewport, textarea panes)
had to shrink by one line to make room for the status bar without
pushing content off-screen - done once via a shared `h := msg.Height-1`
in the WindowSizeMsg handler rather than touching each call site
individually.
Verified live: status bar shows the real proxy address and updates its
count after a live-captured request; '?' renders the full reference
from the history list; dismissing returns to the correct prior view;
and specifically confirmed '?' still types literally (tested typing
"?foo=bar" into a Repeater request body in insert mode) rather than
being swallowed by the help shortcut.
Diffstat (limited to 'go.sum')
0 files changed, 0 insertions, 0 deletions