File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -1218,7 +1218,6 @@ export class InputHandler extends Disposable implements IInputHandler {
12181218 this . _activeBuffer . getNullCell ( this . _eraseAttrData ( ) ) ,
12191219 this . _eraseAttrData ( )
12201220 ) ;
1221- this . _bufferService . buffer . clearMarkers ( y ) ;
12221221 if ( clearWrap ) {
12231222 line . isWrapped = false ;
12241223 }
Original file line number Diff line number Diff line change @@ -590,11 +590,13 @@ export class Buffer implements IBuffer {
590590 if ( y ) {
591591 for ( const marker of this . markers . filter ( m => m . line === y ) ) {
592592 marker . dispose ( ) ;
593+ this . markers . splice ( this . markers . indexOf ( marker ) , 1 ) ;
593594 }
594595 } else {
595596 for ( const marker of this . markers ) {
596597 marker . dispose ( ) ;
597598 }
599+ this . markers = [ ] ;
598600 }
599601 this . _isClearing = false ;
600602 }
You can’t perform that action at this time.
0 commit comments