switch for BufferLineJsArray vs BufferLineTypedArray

This commit is contained in:
Jörg Breitbart
2018-09-04 18:20:01 +02:00
parent 165c8d4522
commit 2877c0da80
5 changed files with 73 additions and 20 deletions
+6
View File
@@ -264,6 +264,7 @@ export interface ITerminalOptions extends IPublicTerminalOptions {
screenKeys?: boolean;
termName?: string;
useFlowControl?: boolean;
bufferLineConstructor?: string;
}
export interface IBuffer {
@@ -523,3 +524,8 @@ export interface IBufferLine {
makeCopyOf(line: IBufferLine): void;
clone(): IBufferLine;
}
export interface IBufferLineConstructor {
new(cols: number, fillCharData?: CharData, isWrapped?: boolean): IBufferLine;
blankLine(cols: number, attr: number, isWrapped?: boolean): IBufferLine;
}