Merge branch 'master' into fix-underline-color
This commit is contained in:
@@ -24,8 +24,8 @@ export class RenderDebouncer implements IDisposable {
|
|||||||
|
|
||||||
public refresh(rowStart: number, rowEnd: number): void {
|
public refresh(rowStart: number, rowEnd: number): void {
|
||||||
// Get the min/max row start/end for the arg values
|
// Get the min/max row start/end for the arg values
|
||||||
rowStart = rowStart || 0;
|
rowStart = rowStart !== null && rowStart !== undefined ? rowStart : 0;
|
||||||
rowEnd = rowEnd || this._terminal.rows - 1;
|
rowEnd = rowEnd !== null && rowEnd !== undefined ? rowEnd : this._terminal.rows - 1;
|
||||||
// Check whether the row start/end values have already been set
|
// Check whether the row start/end values have already been set
|
||||||
const isRowStartSet = this._rowStart !== undefined && this._rowStart !== null;
|
const isRowStartSet = this._rowStart !== undefined && this._rowStart !== null;
|
||||||
const isRowEndSet = this._rowEnd !== undefined && this._rowEnd !== null;
|
const isRowEndSet = this._rowEnd !== undefined && this._rowEnd !== null;
|
||||||
|
|||||||
Reference in New Issue
Block a user