writeonce/docs/stories/runtime-v2
shoney.arickathil 5e8e0960bc feat(rt2): term.size + term.width — the wmux ladder's last runtime asks
- term.size(fd) -> ?TermSize{cols,rows}: TIOCGWINSZ, resize's read twin;
  nil = not a tty (expected answer, never a trap)
- term.width(cp): libc wcwidth under C.UTF-8 (LC_CTYPE set on first
  use, host-locale fallback): -1 control, 0 combining, 1, 2
- ids 108/109 (all four registrations); TermSize predeclared
- legs: PTY sized 77x33 from outside answers exactly that, pipe answers
  nil, widths a/CJK/combining/BEL = 1/2/0/-1; test_term 81/0, woc 557/0
- story runtime-v2 6 recorded done; board row appended

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
(cherry picked from commit 1514fb46c21c4318856cfcb3ca2b4d430caba72b)
2026-09-15 01:15:30 +02:00
..
00-story.md docs(rt2): close out runtime-v2 1-5 2026-09-15 01:15:30 +02:00
01-streaming-subprocess.md docs(rt2): close out runtime-v2 1-5 2026-09-15 01:15:30 +02:00
02-pty.md docs(rt2): close out runtime-v2 1-5 2026-09-15 01:15:30 +02:00
03-signals-as-events.md docs(rt2): close out runtime-v2 1-5 2026-09-15 01:15:30 +02:00
04-termios.md docs(rt2): close out runtime-v2 1-5 2026-09-15 01:15:30 +02:00
05-fd-passing.md docs(rt2): close out runtime-v2 1-5 2026-09-15 01:15:30 +02:00
06-term-size-width.md feat(rt2): term.size + term.width — the wmux ladder's last runtime asks 2026-09-15 01:15:30 +02:00