Terminal
1 specification, 6 requirements. All libraries
0001 Terminal
| Requirement | Mechanism | Who | Note |
|---|---|---|---|
FR-001 | check | bun test suite/ | args.test.ts: every grammar rule and error kind with its sentence and suggestion, the help text, type inference with negative controls, random declarations written into command lines and parsed back |
FR-002 | check | bun test suite/ | commands.test.ts: a tree resolved to its verb, help asked at every level, unknown words with suggestions, help rendered from the declaration |
FR-003 | check | bun test suite/ | palette.test.ts: the palette's roles, marks and their ASCII fallbacks, colour only where allowed |
FR-004 | check | bun test suite/ | width.test.ts: wide characters and escape sequences, a line cut by display width, never inside a grapheme or an escape sequence |
FR-005 | check | bun test suite/ | vt.test.ts: the terminal emulator's sequences, scrolling, wide characters and a cut line that never wraps |
FR-006 | check | bun run verify | the package is built, inspected and packed by tools/pack.ts; tests/commons-packages.test.ts installs the tarball and runs every entry on Node 26 and Bun and type-checks a consumer |