more cleanup

This commit is contained in:
meganrogge
2022-03-15 17:08:01 -04:00
parent 1c38f859b7
commit a9a6920b13
2 changed files with 3 additions and 5 deletions
@@ -109,5 +109,6 @@ export class BufferDecorationRenderer extends Disposable {
private _removeDecoration(decoration: IInternalDecoration): void {
this._decorationElements.get(decoration)?.remove();
this._decorationElements.delete(decoration);
decoration.dispose();
}
}
+2 -5
View File
@@ -439,11 +439,8 @@ declare module 'xterm' {
element: HTMLElement | undefined;
}
/**
* Options provided when registering a decoration
* containing a @param marker, @param anchor,
* @param x offset from the anchor, @param width in cells
* and @param height in cells.
/*
* Options that define the presentation of the decoration.
*/
export interface IDecorationOptions {
/**