@xterm/xterm 5.6.0-beta.115 → 5.6.0-beta.117
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/lib/xterm.js +1 -1
- package/lib/xterm.js.map +1 -1
- package/lib/xterm.mjs +1 -1
- package/lib/xterm.mjs.map +2 -2
- package/package.json +2 -2
- package/src/browser/input/MoveToCell.ts +3 -1
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": "5.6.0-beta.
|
|
4
|
+
"version": "5.6.0-beta.117",
|
|
5
5
|
"main": "lib/xterm.js",
|
|
6
6
|
"module": "lib/xterm.mjs",
|
|
7
7
|
"style": "css/xterm.css",
|
|
@@ -107,5 +107,5 @@
|
|
|
107
107
|
"ws": "^8.2.3",
|
|
108
108
|
"xterm-benchmark": "^0.3.1"
|
|
109
109
|
},
|
|
110
|
-
"commit": "
|
|
110
|
+
"commit": "e969832946a97791efbc3ad520e827b65729c0ba"
|
|
111
111
|
}
|
|
@@ -199,7 +199,9 @@ function bufferLine(
|
|
|
199
199
|
let currentRow = startRow;
|
|
200
200
|
let bufferStr = '';
|
|
201
201
|
|
|
202
|
-
while (currentCol !== endCol || currentRow !== endRow)
|
|
202
|
+
while ((currentCol !== endCol || currentRow !== endRow) &&
|
|
203
|
+
currentRow >= 0 &&
|
|
204
|
+
currentRow < bufferService.buffer.lines.length) {
|
|
203
205
|
currentCol += forward ? 1 : -1;
|
|
204
206
|
|
|
205
207
|
if (forward && currentCol > bufferService.cols - 1) {
|