X-Git-Url: https://git.josue.xyz/?p=VSoRC%2F.git;a=blobdiff_plain;f=node_modules%2Fxterm-addon-attach%2Ftypings%2Fxterm-addon-attach.d.ts;fp=node_modules%2Fxterm-addon-attach%2Ftypings%2Fxterm-addon-attach.d.ts;h=1aa213574c1460a718f75609a357b5b14456d18b;hp=0000000000000000000000000000000000000000;hb=2b1de44527123fab80901384e0f374367500ced8;hpb=e79e4a5a87f3e84f7c1777f10a954453a69bf540 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 index 0000000..1aa2135 --- /dev/null +++ b/node_modules/xterm-addon-attach/typings/xterm-addon-attach.d.ts @@ -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; + } +}