feat(tui): ASCII chrome, invite wrap, remaining copy #27
Loading…
Reference in a new issue
No description provided.
Delete branch "wt/t_b02176dc"
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
Finish remaining
docs/TUI.mditems the parent card (PR #24) did not cover: 1-cell spacing (roster/chat boxed, composer/header/footer unboxed, overlays one box), ASCII glyph fallback, alert truncate, invite wrap at:, remaining empty-thread and paste-error copy.Base:
origin/mainat33beede(PR #24 already merged). This branch is not stacked on an unmerged parent.Skipped optional 3-line wordmark at height ≥ 40 — it fights the 1-line header without buying hierarchy.
Commands
Both green locally.
git diff --stat:src/tui.rs,tests/tui_spec.rs,docs/TUI.mdonly.After frames
80x24 main (hierarchy unchanged from PR #24)
(Full dump:
cargo test --locked --test tui_spec -- --nocapture dump_spec_frames)80x24 share — before (mid-token wrap, from docs/TUI.md)
80x24 share — after (field boundaries; join lines = payload)
80x24 ASCII (
ONIONWIRE_ASCII=1) — no non-ASCII byte, marker is...120x40 main after
Same 1-line header, 28-cell roster, unboxed composer, fail-closed footer kept. See dump command above.
Tests
ascii_switch_80x24_frame_is_pure_asciifails if the switch is ignored (unicode box/…remain).wrap_invite_breaks_on_field_boundaries/draw_share_invite_does_not_wrap_mid_tokenalert_line_truncates_to_frame_widthempty_friend_chat_has_send_hint/paste_error_keeps_resubmit_hinttests/tui_chrome.rshelper names and strings unchanged.N queuedfooter #48N queuedfooter #48