mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Merge pull request #2283 from lramos15/lramos15/select-fix
Double wide characters could have halves selected
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