This commit is contained in:
Eugene Pankov
2019-10-13 22:00:27 -07:00
parent d34650ef5f
commit ead8c9e867

View File

@@ -256,7 +256,7 @@ export class XTermFrontend extends Frontend {
html += this.getLineAsHTML(selection.startRow, selection.startColumn, selection.endColumn)
} else {
html += this.getLineAsHTML(selection.startRow, selection.startColumn, this.xterm.cols)
for (let y = selection.startRow + 1; y < selection.endRow; y++) {
for (let y = selection.startRow! + 1; y < selection.endRow; y++) {
html += this.getLineAsHTML(y, 0, this.xterm.cols)
}
html += this.getLineAsHTML(selection.endRow, 0, selection.endColumn)