07a851ce2a
Ink's <Text> sets flexShrink: 1 by default so text nodes shrink when they overflow their container in no-wrap flex rows. Without this, vue-tui's text nodes had flexShrink=0 (yoga default) and would never shrink, causing overflow tests to fail. Also ports Ink's measureTextNode guard: when yoga asks if text can fit in a sub-1px space during shrink calculations, return the natural dimensions to prevent text from wrapping to infinite height. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>