Hang on to selection state to avoid redrawing

This commit is contained in:
Daniel Imms
2017-08-31 00:13:49 -07:00
parent 3d1bb2c60f
commit d601f0aec2
2 changed files with 4 additions and 1 deletions
-1
View File
@@ -311,7 +311,6 @@ export class SelectionManager extends EventEmitter implements ISelectionManager
* @param event The mousedown event.
*/
public onMouseDown(event: MouseEvent): void {
console.log('mousedown selectionmanager');
// If we have selection, we want the context menu on right click even if the
// terminal is in mouse mode.
if (event.button === 2 && this.hasSelection) {