mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
re-add i-- so that markers on the same line get disposed of
This commit is contained in:
@@ -591,7 +591,7 @@ export class Buffer implements IBuffer {
|
||||
for (let i = 0; i < this.markers.length; i++) {
|
||||
if (this.markers[i].line === y) {
|
||||
this.markers[i].dispose();
|
||||
this.markers.splice(i, 1);
|
||||
this.markers.splice(i--, 1);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user