We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5230e5a + 1978399 commit ce095b3Copy full SHA for ce095b3
src/browser/renderer/dom/DomRenderer.ts
@@ -162,6 +162,10 @@ export class DomRenderer extends Disposable implements IRenderer {
162
// Base CSS
163
let styles =
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;` +
169
` color: ${colors.foreground.css};` +
170
` font-family: ${this._optionsService.rawOptions.fontFamily};` +
171
` font-size: ${this._optionsService.rawOptions.fontSize}px;` +
0 commit comments