remove mention of buffer

This commit is contained in:
meganrogge
2022-02-08 11:45:22 -06:00
parent 8b540c5f3b
commit cae9f44f5c
12 changed files with 30 additions and 43 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ import { ICharSizeService } from 'browser/services/Services';
import { IBufferService, IOptionsService, IInstantiationService } from 'common/services/Services';
import { removeTerminalFromCache } from 'browser/renderer/atlas/CharAtlasCache';
import { EventEmitter, IEvent } from 'common/EventEmitter';
import { IBufferDecorationOptions, IDecoration } from 'xterm';
import { IDecorationOptions, IDecoration } from 'xterm';
let nextRendererId = 1;
+1 -1
View File
@@ -6,7 +6,7 @@
import { IDisposable } from 'common/Types';
import { IColorSet } from 'browser/Types';
import { IEvent } from 'common/EventEmitter';
import { IBufferDecorationOptions, IDecoration } from 'xterm';
import { IDecorationOptions, IDecoration } from 'xterm';
export interface IRenderDimensions {
scaledCharWidth: number;
+2 -2
View File
@@ -13,7 +13,7 @@ import { IOptionsService, IBufferService, IInstantiationService } from 'common/s
import { EventEmitter, IEvent } from 'common/EventEmitter';
import { color } from 'browser/Color';
import { removeElementFromParent } from 'browser/Dom';
import { IBufferDecorationOptions, IDecoration } from 'xterm';
import { IDecorationOptions, IDecoration } from 'xterm';
const TERMINAL_CLASS_PREFIX = 'xterm-dom-renderer-owner-';
const ROW_CONTAINER_CLASS = 'xterm-rows';
@@ -152,7 +152,7 @@ export class DomRenderer extends Disposable implements IRenderer {
this._injectCss();
}
public registerDecoration(decorationOptions: IBufferDecorationOptions): IDecoration {
public registerDecoration(decorationOptions: IDecorationOptions): IDecoration {
// const decorationLayer = this._renderLayers.find(l => l instanceof DecorationRenderLayer);
// if (decorationLayer instanceof DecorationRenderLayer) {
// return decorationLayer.registerDecoration(decorationOptions);