From ead8c9e8672ac3cd362c56565b81f4e9c3ca71d2 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Sun, 13 Oct 2019 22:00:27 -0700 Subject: [PATCH] lint --- terminus-terminal/src/frontends/xtermFrontend.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminus-terminal/src/frontends/xtermFrontend.ts b/terminus-terminal/src/frontends/xtermFrontend.ts index 36a7cdb4..484b4460 100644 --- a/terminus-terminal/src/frontends/xtermFrontend.ts +++ b/terminus-terminal/src/frontends/xtermFrontend.ts @@ -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)