You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create terminal instance
Create xterm.js instance
If the terminal is backgrounded
Create pty with last known dimensions, fall back to 80x30
Else
Allow 500ms for the terminal to be attached to the DOM
Attach xterm.js to the DOM
Create pty with correct dimensions
If 500ms elapses
Create pty with last known dimensions, fall back to 80x30
This should create terminals with the correct dimensions much more often while still keeping backgrounded terminals launching asap. The 500ms case shouldn't happen in practice but it's possible if the main thread is really busy or something.
The text was updated successfully, but these errors were encountered:
Right now the basic process for launching terminals is:
This causes a bunch of problems like:
Proposal to fix these problems:
This should create terminals with the correct dimensions much more often while still keeping backgrounded terminals launching asap. The 500ms case shouldn't happen in practice but it's possible if the main thread is really busy or something.
The text was updated successfully, but these errors were encountered: