Skip to content

Commit 04e5d9e

Browse files
Merge pull request #15 from TimeWarpEngineering/Cramer/2025-12-22/dev
docs: remove Shrink from SKILL.md public API and behavior section
2 parents 79bc3d0 + 3367011 commit 04e5d9e

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

skills/terminal/SKILL.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ Widget constructors are internal. Always use builders.
220220

221221
**PanelBuilder:** `.Header()`, `.Content(string?)`, `.Border()`, `.BorderColor()`, `.Padding()`, `.PaddingHorizontal()`, `.PaddingVertical()`, `.Width()`, `.WordWrap()`, `.Build()`
222222

223-
**TableBuilder:** `.AddColumn(name)`, `.AddColumn(name, alignment)`, `.AddColumn(TableColumn)`, `.AddColumns(params)`, `.AddRow(params)`, `.Border()`, `.BorderColor()`, `.HideHeaders()`, `.ShowRowSeparators()`, `.Expand()`, `.Shrink()`, `.Build()`
223+
**TableBuilder:** `.AddColumn(name)`, `.AddColumn(name, alignment)`, `.AddColumn(TableColumn)`, `.AddColumns(params string[])`, `.AddColumns(params TableColumn[])`, `.AddRow(params)`, `.Border()`, `.BorderColor()`, `.HideHeaders()`, `.ShowRowSeparators()`, `.Expand()`, `.Build()`
224224

225225
**RuleBuilder:** `.Title()`, `.Style()`, `.Color()`, `.Width()`, `.Build()`
226226

@@ -325,12 +325,11 @@ terminal.WriteTable(t => t
325325
.AddRow("1", "This is a long description that would normally be truncated heavily"));
326326
```
327327

328-
### Table Shrink/Expand/Grow Behavior
328+
### Table Expand/Grow Behavior
329329

330-
- **Shrink** (default: `true`): Proportionally reduces column widths to fit terminal. Wider columns shrink more aggressively. Respects `MinWidth` per column.
330+
- **Shrink** (always on): Proportionally reduces column widths to fit terminal. Wider columns shrink more aggressively. Respects `MinWidth` per column.
331331
- **Expand**: Distributes extra terminal width evenly across all columns.
332332
- **Grow** (column-level): When `Grow = true` on a column, it expands to fill remaining terminal width after fixed columns are allocated. Multiple grow columns share remaining space evenly. Takes precedence over Expand.
333-
- Disable shrinking with builder `.Shrink(false)` to allow horizontal overflow.
334333

335334
**BorderStyle:** `Rounded`, `Square`, `Doubled`, `Heavy`, `None`
336335

0 commit comments

Comments
 (0)