Merge pull request #2402 from Tyriar/2401_dont_scroll

Don't execute move to cell when the user has scrolled up
This commit is contained in:
Daniel Imms
2019-09-06 09:38:59 -07:00
committed by GitHub
+1 -1
View File
@@ -664,7 +664,7 @@ export class SelectionService implements ISelectionService {
this._removeMouseDownListeners();
if (this.selectionText.length <= 1 && timeElapsed < ALT_CLICK_MOVE_CURSOR_TIME) {
if (event.altKey) {
if (event.altKey && this._bufferService.buffer.ybase === this._bufferService.buffer.ydisp) {
const coordinates = this._mouseService.getCoords(
event,
this._element,