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
+2 -15
View File
@@ -434,7 +434,7 @@ declare module 'xterm' {
readonly element: HTMLElement | undefined;
}
export interface IBufferDecorationOptions {
export interface IDecorationOptions {
/**
* The line in the terminal where
* the decoration will be displayed
@@ -467,19 +467,6 @@ declare module 'xterm' {
}
export interface IGutterDecorationOptions {
/**
* The line in the terminal where
* the decoration will be displayed
*/
startMarker: IMarker;
/**
* The end line in the terminal for
* the decoration
*/
endMarker: IMarker;
}
/**
* The set of localizable strings.
*/
@@ -951,7 +938,7 @@ declare module 'xterm' {
* width, height, and x offset from the anchor. Returns the decoration or
* undefined if the marker has already been disposed of.
*/
registerDecoration(decorationOptions: IBufferDecorationOptions): IDecoration | undefined;
registerDecoration(decorationOptions: IDecorationOptions): IDecoration | undefined;
/**
* Gets whether the terminal has an active selection.