pull/149400/head
Megan Rogge 2022-05-12 14:24:28 -07:00 committed by GitHub
parent 4aa56a627e
commit 9b7577420d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ export class DecorationAddon extends Disposable implements ITerminalAddon {
if (beforeCommandExecution && !this._placeholderDecoration) {
this._placeholderDecoration = decoration;
this._placeholderDecoration.onDispose(() => this._placeholderDecoration = undefined);
} else {
} else if (!this._decorations.get(decoration.marker.id)) {
decoration.onDispose(() => this._decorations.delete(decoration.marker.id));
this._decorations.set(decoration.marker.id,
{