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;
+1 -6
View File
@@ -3,12 +3,7 @@
* @license MIT
*/
import { Terminal, IDisposable } from 'xterm';
// TODO: This is temporary, link to xterm when the new version is published
export interface ITerminalAddon extends IDisposable {
activate(terminal: Terminal): void;
}
import { Terminal, IDisposable, ITerminalAddon } from 'xterm';
export interface ISearchOptions {
regex?: boolean;
@@ -3,13 +3,7 @@
* @license MIT
*/
import { Terminal, ILinkMatcherOptions } from 'xterm';
// TODO: This is temporary, link to xterm when the new version is published
export interface ITerminalAddon {
activate(terminal: Terminal): void;
dispose(): void;
}
import { Terminal, ILinkMatcherOptions, ITerminalAddon } from 'xterm';
const protocolClause = '(https?:\\/\\/)';
const domainCharacterSet = '[\\da-z\\.-]+';