[READ-ONLY] Mirror of https://github.com/bombshell-dev/tty. Platform independent 2D layout engine for terminal applications based on Clay bomb.sh/docs/tty
Something went wrong. Try again.
test(layout): regression tests for grow() + padding content-box bug master
Four cases covering the fixed behavior: (a) fixed() and grow() roots produce identical child positions for a right-aligned row (text + grow spacer + text) with symmetric padding. (b) grow() root with asymmetric padding — R lands at the correct column respecting the larger right pad, not overflowing it. (c) Two levels of grow() nesting — each box preserves its own content box so R remains inside the innermost right padding. (d) Height axis — grow() root bounds.height equals terminal height even when content rows + vertical padding exceed it (catches the same minDimensions bug on the Y axis).
Author Nate Moore Date (Aug 27, 2026, 10:08 AM UTC) Commit 96d248cb 96d248cbb0d86f5ffba2ec0114ce0fa48d00d569 Parent 94c9eab8 94c9eab88ebafff572b3a751e48c7c21e74de7af