mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-25 05:35:41 +00:00
* fix: added watcher on parent div resize and window resize and calls fit() on both events * removed effects and moved the resize handling to ref callback * fix: added ResizeObserver cleanup * fix: improve terminal resizing logic - Refactored fit logic to avoid unnecessary calls during hidden states. - Enhanced error handling when creating new terminal sessions. - Updated ResizeObserver to ensure proper fitting on container resize. * fix: remove unused fitRafRef in TerminalTab component * fix: refactor terminal mount logic to use a dedicated callback --------- Co-authored-by: Sid <siddharth@usebruno.com>