This commit is contained in:
meganrogge
2022-02-08 21:10:34 -06:00
parent 88bd33f2d7
commit f2991a5636
8 changed files with 62 additions and 42 deletions
+3
View File
@@ -173,6 +173,9 @@ export class Terminal implements ITerminalApi {
}
public registerDecoration(decorationOptions: IDecorationOptions): IDecoration | undefined {
this._checkProposedApi();
if (decorationOptions.x) {
this._verifyIntegers(decorationOptions.x);
}
return this._core.registerDecoration(decorationOptions);
}
public addMarker(cursorYOffset: number): IMarker | undefined {