Merge branch 'master' into dynamic-char-atlas

This commit is contained in:
Benjamin Woodruff
2018-04-23 22:43:43 -07:00
14 changed files with 288 additions and 212 deletions
+9 -1
View File
@@ -269,7 +269,7 @@ declare module 'xterm' {
/**
* The class that represents an xterm.js terminal.
*/
export class Terminal implements IEventEmitter {
export class Terminal implements IEventEmitter, IDisposable {
/**
* The element containing the terminal.
*/
@@ -469,8 +469,16 @@ declare module 'xterm' {
*/
selectLines(start: number, end: number): void;
/*
* Disposes of the terminal, detaching it from the DOM and removing any
* active listeners.
*/
dispose(): void;
/**
* Destroys the terminal and detaches it from the DOM.
*
* @deprecated Use dispose() instead.
*/
destroy(): void;