Files
xterm.js/addons/xterm-addon-serialize/typings/xterm-addon-serialize.d.ts
T
2019-07-10 21:46:51 +08:00

31 lines
601 B
TypeScript

/**
* Copyright (c) 2017 The xterm.js authors. All rights reserved.
* @license MIT
*/
import { Terminal, ITerminalAddon } from 'xterm';
declare module 'xterm-addon-serialize' {
/**
* An xterm.js addon that enables web links.
*/
export class SerializeAddon implements ITerminalAddon {
constructor();
/**
* Activates the addon
* @param terminal The terminal the addon is being loaded in.
*/
public activate(terminal: Terminal): void;
public serialize(rows?: number): string;
/**
* Disposes the addon.
*/
public dispose(): void;
}
}