expose IBufferSet API
This commit is contained in:
Vendored
+13
@@ -576,6 +576,11 @@ declare module 'xterm' {
|
||||
*/
|
||||
readonly buffer: IBuffer;
|
||||
|
||||
/**
|
||||
* (EXPERIMENTAL) The terminal's current bufferSet.
|
||||
*/
|
||||
readonly buffers: IBufferSet;
|
||||
|
||||
/**
|
||||
* (EXPERIMENTAL) Get all markers registered against the buffer. If the alt
|
||||
* buffer is active this will always return [].
|
||||
@@ -1217,6 +1222,14 @@ declare module 'xterm' {
|
||||
getNullCell(): IBufferCell;
|
||||
}
|
||||
|
||||
interface IBufferSet {
|
||||
readonly alt: IBuffer;
|
||||
readonly normal: IBuffer;
|
||||
readonly active: IBuffer;
|
||||
|
||||
onBufferActivate: IEvent<{ activeBuffer: IBuffer, inactiveBuffer: IBuffer }>;
|
||||
}
|
||||
|
||||
/**
|
||||
* Represents a line in the terminal's buffer.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user