Skip to content

Commit

Permalink
Merge pull request #2402 from Tyriar/2401_dont_scroll
Browse files Browse the repository at this point in the history
Don't execute move to cell when the user has scrolled up
  • Loading branch information
Tyriar committed Sep 6, 2019
2 parents 9fdae76 + 81c5fd4 commit 9169108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browser/services/SelectionService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9169108

Please sign in to comment.