@xterm/xterm 6.1.0-beta.280 → 6.1.0-beta.282
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xterm/xterm",
|
|
3
3
|
"description": "Full xterm terminal, in your browser",
|
|
4
|
-
"version": "6.1.0-beta.
|
|
4
|
+
"version": "6.1.0-beta.282",
|
|
5
5
|
"main": "lib/xterm.js",
|
|
6
6
|
"module": "lib/xterm.mjs",
|
|
7
7
|
"style": "css/xterm.css",
|
|
@@ -119,5 +119,5 @@
|
|
|
119
119
|
"ws": "^8.20.0",
|
|
120
120
|
"xterm-benchmark": "^0.3.2"
|
|
121
121
|
},
|
|
122
|
-
"commit": "
|
|
122
|
+
"commit": "3d929a1db0e01f94b3bd1c4f02d538ac5ea454ae"
|
|
123
123
|
}
|
|
@@ -135,9 +135,10 @@ export class SelectionModel {
|
|
|
135
135
|
return true;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
// If the selection start is trimmed,
|
|
138
|
+
// If the selection start row is trimmed away, reset to the buffer origin.
|
|
139
139
|
if (this.selectionStart && this.selectionStart[1] < 0) {
|
|
140
|
-
this.selectionStart
|
|
140
|
+
this.selectionStart = [0, 0];
|
|
141
|
+
return true;
|
|
141
142
|
}
|
|
142
143
|
return false;
|
|
143
144
|
}
|
|
@@ -704,7 +704,7 @@ export class SelectionService extends Disposable implements ISelectionService {
|
|
|
704
704
|
if (this._activeSelectionMode !== SelectionMode.COLUMN) {
|
|
705
705
|
this._model.selectionEnd[0] = this._bufferService.cols;
|
|
706
706
|
}
|
|
707
|
-
this._model.selectionEnd[1] = Math.min(buffer.ydisp + this._bufferService.rows, buffer.lines.length - 1);
|
|
707
|
+
this._model.selectionEnd[1] = Math.min(buffer.ydisp + this._bufferService.rows - 1, buffer.lines.length - 1);
|
|
708
708
|
} else {
|
|
709
709
|
if (this._activeSelectionMode !== SelectionMode.COLUMN) {
|
|
710
710
|
this._model.selectionEnd[0] = 0;
|
package/src/common/Version.ts
CHANGED