Stop focusing automatically when opening the terminal in a DOM node #646
Labels
breaking-change
Breaks API and requires a major version bump
type/enhancement
Features or improvements to existing features
Milestone
When using
open
to expose an xterm.js terminal in the DOM, the terminal gets focus automatically.This may be useful for very simple use cases (like the demo of xterm.js), but it can make it difficult for more complex applications to control where the focus is.
The best thing to do here is stop focusing on the terminal inside
open
and let the user decide when to focus.Initiated from #640.
The text was updated successfully, but these errors were encountered: