Skip to content

Commit 68d6d55

Browse files
committed
force screen update for altered lines
1 parent a4d561d commit 68d6d55

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/InputHandler.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,6 +1074,7 @@ export class InputHandler extends Disposable implements IInputHandler {
10741074
line.deleteCells(0, param, buffer.getNullCell(this._terminal.eraseAttrData()));
10751075
line.isWrapped = false;
10761076
}
1077+
this._dirtyRowService.markRangeDirty(buffer.scrollTop, buffer.scrollBottom);
10771078
}
10781079

10791080
/**
@@ -1101,6 +1102,7 @@ export class InputHandler extends Disposable implements IInputHandler {
11011102
line.insertCells(0, param, buffer.getNullCell(this._terminal.eraseAttrData()));
11021103
line.isWrapped = false;
11031104
}
1105+
this._dirtyRowService.markRangeDirty(buffer.scrollTop, buffer.scrollBottom);
11041106
}
11051107

11061108
/**
@@ -1118,6 +1120,7 @@ export class InputHandler extends Disposable implements IInputHandler {
11181120
line.insertCells(buffer.x, param, buffer.getNullCell(this._terminal.eraseAttrData()));
11191121
line.isWrapped = false;
11201122
}
1123+
this._dirtyRowService.markRangeDirty(buffer.scrollTop, buffer.scrollBottom);
11211124
}
11221125

11231126
/**
@@ -1135,6 +1138,7 @@ export class InputHandler extends Disposable implements IInputHandler {
11351138
line.deleteCells(buffer.x, param, buffer.getNullCell(this._terminal.eraseAttrData()));
11361139
line.isWrapped = false;
11371140
}
1141+
this._dirtyRowService.markRangeDirty(buffer.scrollTop, buffer.scrollBottom);
11381142
}
11391143

11401144
/**

0 commit comments

Comments
 (0)