[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

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).


+156
1 changed file