2 * Copyright (c) 2017 The xterm.js authors. All rights reserved.
6 import { Terminal, ILinkMatcherOptions, ITerminalAddon } from 'xterm';
8 declare module 'xterm-addon-attach' {
9 export interface IAttachOptions {
11 * Whether input should be written to the backend. Defaults to `true`.
13 bidirectional?: boolean;
16 export class AttachAddon implements ITerminalAddon {
17 constructor(socket: WebSocket, options?: IAttachOptions);
18 public activate(terminal: Terminal): void;
19 public dispose(): void;