Remove check proposed api checks
This commit is contained in:
@@ -78,7 +78,6 @@ export class Terminal implements ITerminalApi {
|
|||||||
|
|
||||||
public get element(): HTMLElement | undefined { return this._core.element; }
|
public get element(): HTMLElement | undefined { return this._core.element; }
|
||||||
public get parser(): IParser {
|
public get parser(): IParser {
|
||||||
this._checkProposedApi();
|
|
||||||
if (!this._parser) {
|
if (!this._parser) {
|
||||||
this._parser = new ParserApi(this._core);
|
this._parser = new ParserApi(this._core);
|
||||||
}
|
}
|
||||||
@@ -92,7 +91,6 @@ export class Terminal implements ITerminalApi {
|
|||||||
public get rows(): number { return this._core.rows; }
|
public get rows(): number { return this._core.rows; }
|
||||||
public get cols(): number { return this._core.cols; }
|
public get cols(): number { return this._core.cols; }
|
||||||
public get buffer(): IBufferNamespaceApi {
|
public get buffer(): IBufferNamespaceApi {
|
||||||
this._checkProposedApi();
|
|
||||||
if (!this._buffer) {
|
if (!this._buffer) {
|
||||||
this._buffer = new BufferNamespaceApi(this._core);
|
this._buffer = new BufferNamespaceApi(this._core);
|
||||||
}
|
}
|
||||||
@@ -148,7 +146,6 @@ export class Terminal implements ITerminalApi {
|
|||||||
this._core.attachCustomKeyEventHandler(customKeyEventHandler);
|
this._core.attachCustomKeyEventHandler(customKeyEventHandler);
|
||||||
}
|
}
|
||||||
public registerLinkProvider(linkProvider: ILinkProvider): IDisposable {
|
public registerLinkProvider(linkProvider: ILinkProvider): IDisposable {
|
||||||
this._checkProposedApi();
|
|
||||||
return this._core.registerLinkProvider(linkProvider);
|
return this._core.registerLinkProvider(linkProvider);
|
||||||
}
|
}
|
||||||
public registerCharacterJoiner(handler: (text: string) => [number, number][]): number {
|
public registerCharacterJoiner(handler: (text: string) => [number, number][]): number {
|
||||||
|
|||||||
Reference in New Issue
Block a user