See microsoft/vscode#66421
This is caused because MouseZoneManager only listened to mousemove, it should also register a listener for when the mouse leaves this._terminal.element
Code pointer:
|
this._terminal.element.removeEventListener('mousemove', this._mouseMoveListener); |