Merge pull request #2283 from lramos15/lramos15/select-fix

Double wide characters could have halves selected
This commit is contained in:
Daniel Imms
2019-07-03 08:48:11 -07:00
committed by GitHub
+1 -1
View File
@@ -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;
}