Fix tests

This commit is contained in:
Daniel Imms
2018-09-19 20:06:09 -07:00
parent 4463f8d810
commit 2c62c3a8c3
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ export class Linkifier extends EventEmitter implements ILinkifier {
}
// Invalidate bad end row values (if a resize happened)
const absoluteRowIndexEnd = Math.min(buffer.ydisp + this._rowsToLinkify.end + 1, buffer.ydisp + this._terminal.rows);
const absoluteRowIndexEnd = buffer.ydisp + Math.min(this._rowsToLinkify.end, this._terminal.rows) + 1;
// iterate over the range of unwrapped content strings within start..end (excluding)
// _doLinkifyRow gets full unwrapped lines with the start row as buffer offset for every matcher