controller and vsorc data viewers done
[VSoRC/.git] / node_modules / xterm-addon-attach / typings / xterm-addon-attach.d.ts
1 /**
2  * Copyright (c) 2017 The xterm.js authors. All rights reserved.
3  * @license MIT
4  */
5
6 import { Terminal, ILinkMatcherOptions, ITerminalAddon } from 'xterm';
7
8 declare module 'xterm-addon-attach' {
9   export interface IAttachOptions {
10     /**
11      * Whether input should be written to the backend. Defaults to `true`.
12      */
13     bidirectional?: boolean;
14   }
15
16   export class AttachAddon implements ITerminalAddon {
17     constructor(socket: WebSocket, options?: IAttachOptions);
18     public activate(terminal: Terminal): void;
19     public dispose(): void;
20   }
21 }