COLUMNS/LINES env fallback
Platform spec ADR
COLUMNS/LINES env fallback
Spec standingStandard
- Contracts and edge cases Resize polling and delivery requirements.
- Design model ConsoleMessage variants and resize notification surfaces.
- Examples Subscribing to resize via channel or event hub.
- Flow and algorithm PollResize and RunTick integration.
- Verification and traceability Resize channel tests and platform extern anchors.
0 revisions (git unavailable at build; counts may be empty)
No commits recorded for this path.
| Section id | Required | Found |
|---|---|---|
what-this-feature-specifies | yes | yes |
implementation-anchors | yes | yes |
Full tree: run pnpm verify:platform-spec-layout (writes src/generated/platform-spec-layout-report.json).
Context
Section titled “Context”Not all hosts expose Winsize ioctl; env vars are a portable fallback.
Decision
Section titled “Decision”| Rule | Detail |
|---|---|
| Order | Winsize ioctl then COLUMNS/LINES |
| Parse | Discrete table, not full integer grammar in v1 |
Consequences
Section titled “Consequences”Odd env values may clamp or ignore per contracts article.
Verification anchors
Section titled “Verification anchors”Platform/Terminal.bd tests.