Skip to content

Commit e413133

Browse files
committed
Remove unused helper
1 parent 06b8d36 commit e413133

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

demo/client.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,6 @@ import { Unicode11Addon } from '../addons/xterm-addon-unicode11/out/Unicode11Add
3131
// little weird here as we're importing "this" module
3232
import { Terminal as TerminalType, ITerminalOptions } from 'xterm';
3333

34-
interface IDisposable {
35-
dispose(): void;
36-
}
37-
38-
function addDisposableListener(element: HTMLElement, type: string, listener: (event: any) => void): IDisposable {
39-
element.addEventListener(type, listener);
40-
return {
41-
dispose: () => element.removeEventListener(type, listener)
42-
};
43-
}
44-
4534
export interface IWindowWithTerminal extends Window {
4635
term: TerminalType;
4736
Terminal?: typeof TerminalType;

0 commit comments

Comments
 (0)