mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user