xterm-addon-webgl
Advanced tools
Comparing version 0.12.0-beta.37 to 0.12.0-beta.38
{ | ||
"name": "xterm-addon-webgl", | ||
"version": "0.12.0-beta.37", | ||
"version": "0.12.0-beta.38", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "The xterm.js authors", |
@@ -458,4 +458,8 @@ /** | ||
if (this._model.selection.columnSelectMode) { | ||
return x >= this._model.selection.startCol && y >= this._model.selection.viewportCappedStartRow && | ||
x < this._model.selection.endCol && y < this._model.selection.viewportCappedEndRow; | ||
if (this._model.selection.startCol <= this._model.selection.endCol) { | ||
return x >= this._model.selection.startCol && y >= this._model.selection.viewportCappedStartRow && | ||
x < this._model.selection.endCol && y <= this._model.selection.viewportCappedEndRow; | ||
} | ||
return x < this._model.selection.startCol && y >= this._model.selection.viewportCappedStartRow && | ||
x >= this._model.selection.endCol && y <= this._model.selection.viewportCappedEndRow; | ||
} | ||
@@ -462,0 +466,0 @@ return (y > this._model.selection.viewportStartRow && y < this._model.selection.viewportEndRow) || |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
483890
3048