mirror of
https://github.com/stablyai/orca.git
synced 2026-10-22 00:03:47 +00:00
Instead of subtracting a hardcoded row count from window.innerHeight, measure the terminal frame's pixel height via onLayout and pass it into the WebView's measureFitDimensions. This gives pixel-accurate row calculations regardless of accessory bar height or safe-area insets. Co-authored-by: Orca <help@stably.ai>