Fix proposeDimensions error: skip call when terminal not ready
When terminal is not ready after max attempts, go directly to fallback dimensions instead of falling through to call proposeDimensions() which throws 'viewport.scrollBarWidth' TypeError. Root cause: FitAddon.proposeDimensions() checks _renderService.dimensions before accessing viewport.scrollBarWidth, but dimensions can be valid while viewport is still undefined during terminal initialization.
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user