Comparing version 5.4.0-beta.30 to 5.4.0-beta.31
{ | ||
"name": "xterm", | ||
"description": "Full xterm terminal, in your browser", | ||
"version": "5.4.0-beta.30", | ||
"version": "5.4.0-beta.31", | ||
"main": "lib/xterm.js", | ||
@@ -6,0 +6,0 @@ "style": "css/xterm.css", |
@@ -401,2 +401,5 @@ /** | ||
this._document = parent.ownerDocument!; | ||
if (this.options.documentOverride && this.options.documentOverride instanceof Document) { | ||
this._document = this.optionsService.rawOptions.documentOverride as Document; | ||
} | ||
@@ -403,0 +406,0 @@ // Create main element container |
@@ -21,2 +21,3 @@ /** | ||
drawBoldTextInBrightColors: true, | ||
documentOverride: null, | ||
fastScrollModifier: 'alt', | ||
@@ -23,0 +24,0 @@ fastScrollSensitivity: 5, |
@@ -220,2 +220,3 @@ /** | ||
disableStdin?: boolean; | ||
documentOverride?: any | null; | ||
drawBoldTextInBrightColors?: boolean; | ||
@@ -222,0 +223,0 @@ fastScrollModifier?: 'none' | 'alt' | 'ctrl' | 'shift'; |
@@ -93,2 +93,13 @@ /** | ||
/** | ||
* A {@link Document} to use instead of the one that xterm.js was attached | ||
* to. The purpose of this is to improve support in multi-window | ||
* applications where HTML elements may be references across multiple | ||
* windows which can cause problems with `instanceof`. | ||
* | ||
* The type is `any` because using `Document` can cause TS to have | ||
* performance/compiler problems. | ||
*/ | ||
documentOverride?: any | null; | ||
/** | ||
* Whether to draw bold text in bright colors. The default is true. | ||
@@ -95,0 +106,0 @@ */ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2353617
24535