mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Fix scroll bar logic
This commit is contained in:
@@ -506,7 +506,7 @@ export class SelectionService implements ISelectionService {
|
||||
}
|
||||
|
||||
// Return early if the click event is not in the buffer (eg. in scroll bar)
|
||||
if (line.length >= this._model.selectionStart[0]) {
|
||||
if (line.length === this._model.selectionStart[0]) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user