[READ-ONLY] Mirror of https://github.com/bombshell-dev/tty. Platform independent 2D layout engine for terminal applications based on Clay
5

Configure Feed

Select the types of activity you want to include in your feed.

docs: document string alignment in renderer spec

Paul Valladares (Jun 8, 2026, 1:02 PM -0600) 764dd5a2 b8fa9e73

+4 -5
+4 -5
specs/renderer-spec.md
··· 633 633 `props` parameter: 634 634 635 635 - **`layout`** — sizing (width and height, specified via sizing helpers), 636 - padding (per-side), alignment (currently numeric enum values, with a planned 637 - transition to string literals), direction (top-to-bottom or left-to-right), 638 - and gap 636 + padding (per-side), alignment (`alignX`: `"left"` | `"center"` | `"right"`; 637 + `alignY`: `"top"` | `"center"` | `"bottom"`, defaulting to left/top when 638 + omitted), direction (top-to-bottom or left-to-right), and gap 639 639 - **`border`** — per-side border widths and border color 640 640 - **`cornerRadius`** — per-corner radius values, producing rounded box-drawing 641 641 characters ··· 649 649 `underline`, `strikethrough`). 650 650 651 651 These property groups represent the current implementation surface. New groups 652 - and fields have been added incrementally and more may follow. Alignment values 653 - are expected to transition from numeric to string-literal form. 652 + and fields have been added incrementally and more may follow. 654 653 655 654 **Border width and layout interaction.** In the underlying layout engine (Clay), 656 655 border configuration does not affect layout computation. This is Clay's intended