controller and vsorc data viewers done
[VSoRC/.git] / node_modules / xterm-addon-attach / typings / xterm-addon-attach.d.ts
diff --git a/node_modules/xterm-addon-attach/typings/xterm-addon-attach.d.ts b/node_modules/xterm-addon-attach/typings/xterm-addon-attach.d.ts
new file mode 100644 (file)
index 0000000..1aa2135
--- /dev/null
@@ -0,0 +1,21 @@
+/**
+ * Copyright (c) 2017 The xterm.js authors. All rights reserved.
+ * @license MIT
+ */
+
+import { Terminal, ILinkMatcherOptions, ITerminalAddon } from 'xterm';
+
+declare module 'xterm-addon-attach' {
+  export interface IAttachOptions {
+    /**
+     * Whether input should be written to the backend. Defaults to `true`.
+     */
+    bidirectional?: boolean;
+  }
+
+  export class AttachAddon implements ITerminalAddon {
+    constructor(socket: WebSocket, options?: IAttachOptions);
+    public activate(terminal: Terminal): void;
+    public dispose(): void;
+  }
+}