feat(tui): fail-closed footer, 1-line header, help overlay #24
Loading…
Reference in a new issue
No description provided.
Delete branch "wt/t_0d3b0f80"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
status_footernever dropssend failed:/status_note;TOR,me:,? helpstill present at 80 and 120.messageplaceholder,>+ bold for focus.no friends.Esc closes this overlayis visible. Height ≥ 28 is a centered overlay after a full-area Clear (no punch-through).NO_COLOR(no fg/bg, weight/glyphs only).sanitize::display_texton chat and roster names.Presentation only.
docs/PROTOCOL.mdunchanged. No new crates.Review round 2
PR #23 is on
main(53f9914). This branch merges that and flipstests/tui_frames.rsstatus_footer_drops_send_failed_when_crowdedsosend failedis present at 80, 120, and 200, withTOR/me:/? help. Head:7d3e1bd.Follow-up
t_b02176dcowns spacing unit, ASCII/glyph fallback, alert+invite wrap, remaining state copy.Proof
cargo test --locked— green locally (3 ignored live-Tor tests)cargo clippy --locked --all-targets -- -D warnings— greengit diff --stat origin/main:src/tui.rs+tests/tui_spec.rs+tests/tui_frames.rs+docs/TUI.mdAfter frames (TestBackend,
dump_spec_frames)80x24 main (fail-closed visible, 1-line header, roster ~22, composer no box)
Reconstructed (
Appprivate). Footer line is the realstatus_footerhelper.80x24 help (full-screen, last line visible, no punch-through)
Real
draw_text_overlay.120x40 main
1-line header, roster 28 cells,
send failed:kept withTOR/me:/? help. Chat is the leftover (primary) pane.(Full 40-row dump:
cargo test --locked --test tui_spec dump_spec_frames -- --nocapture)Locked helpers
banner_for_width(80)is still the 3-line wordmark (tui_chrome). Main does not use it as the 24-row header (main_header_lineinstead).Review round 2 (changes requested): merged
origin/main(PR #23 /53f9914) and flippedstatus_footer_drops_send_failed_when_crowded.RED: old lock panicked
80 still has room? "send failed: peer onion down TOR me:abcdef01… onion:abcdefgh… F5 Ctrl-Q ? help"GREEN: test now asserts
send failed+TOR+me:+? helpat 80/120/200; line length ≤ width.Head
7d3e1bd. Files vsorigin/main:src/tui.rstests/tui_spec.rstests/tui_frames.rsdocs/TUI.md.Local:
cargo test --lockedgreen (3 ignored live-Tor).cargo clippy --locked --all-targets -- -D warningsgreen.80x24 after footer (real
status_footer):send failed: peer onion down TOR me:abcdef01… onion:abcdefgh… F5 Ctrl-Q ? helpDid not expand into t_b02176dc (spacing/ASCII/wrap/remaining copy).