@xterm/xterm 5.6.0-beta.74 → 5.6.0-beta.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/xterm.js +1 -1
- package/lib/xterm.js.map +1 -1
- package/lib/xterm.mjs +1 -1
- package/lib/xterm.mjs.map +2 -2
- package/package.json +2 -2
- package/src/browser/renderer/dom/DomRenderer.ts +4 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xterm/xterm",
|
|
3
3
|
"description": "Full xterm terminal, in your browser",
|
|
4
|
-
"version": "5.6.0-beta.
|
|
4
|
+
"version": "5.6.0-beta.75",
|
|
5
5
|
"main": "lib/xterm.js",
|
|
6
6
|
"module": "lib/xterm.mjs",
|
|
7
7
|
"style": "css/xterm.css",
|
|
@@ -107,5 +107,5 @@
|
|
|
107
107
|
"ws": "^8.2.3",
|
|
108
108
|
"xterm-benchmark": "^0.3.1"
|
|
109
109
|
},
|
|
110
|
-
"commit": "
|
|
110
|
+
"commit": "ce095b35936844055924c9b66ec3e89aef5cbca4"
|
|
111
111
|
}
|
|
@@ -162,6 +162,10 @@ export class DomRenderer extends Disposable implements IRenderer {
|
|
|
162
162
|
// Base CSS
|
|
163
163
|
let styles =
|
|
164
164
|
`${this._terminalSelector} .${ROW_CONTAINER_CLASS} {` +
|
|
165
|
+
// Disabling pointer events circumvents a browser behavior that prevents `click` events from
|
|
166
|
+
// being delivered if the target element is replaced during the click. This happened due to
|
|
167
|
+
// refresh() being called during the mousedown handler to start a selection.
|
|
168
|
+
` pointer-events: none;` +
|
|
165
169
|
` color: ${colors.foreground.css};` +
|
|
166
170
|
` font-family: ${this._optionsService.rawOptions.fontFamily};` +
|
|
167
171
|
` font-size: ${this._optionsService.rawOptions.fontSize}px;` +
|