We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41e8ae3 commit 1978399Copy full SHA for 1978399
src/browser/renderer/dom/DomRenderer.ts
@@ -161,6 +161,10 @@ export class DomRenderer extends Disposable implements IRenderer {
161
// Base CSS
162
let styles =
163
`${this._terminalSelector} .${ROW_CONTAINER_CLASS} {` +
164
+ // Disabling pointer events circumvents a browser behavior that prevents `click` events from
165
+ // being delivered if the target element is replaced during the click. This happened due to
166
+ // refresh() being called during the mousedown handler to start a selection.
167
+ ` pointer-events: none;` +
168
` color: ${colors.foreground.css};` +
169
` font-family: ${this._optionsService.rawOptions.fontFamily};` +
170
` font-size: ${this._optionsService.rawOptions.fontSize}px;` +
0 commit comments