Remove temporary ITerminalAddon declarations

This commit is contained in:
Daniel Imms
2019-05-31 20:09:38 -07:00
parent 8235bf5dad
commit d9a074899b
3 changed files with 3 additions and 22 deletions
+1 -9
View File
@@ -5,21 +5,13 @@
* Implements the attach method, that attaches the terminal to a WebSocket stream.
*/
import { Terminal, IDisposable } from 'xterm';
import { Terminal, IDisposable, ITerminalAddon } from 'xterm';
interface IAttachOptions {
bidirectional?: boolean;
inputUtf8?: boolean;
}
// TODO: This is temporary, link to xterm when the new version is published
export interface ITerminalAddon {
activate(terminal: Terminal): void;
dispose(): void;
}
// TODO: To be removed once UTF8 PR is in xterm.js package.
interface INewTerminal extends Terminal {
writeUtf8(data: Uint8Array): void;