diff --git a/typings/xterm-headless.d.ts b/typings/xterm-headless.d.ts index 666d45c3..d39a7098 100644 --- a/typings/xterm-headless.d.ts +++ b/typings/xterm-headless.d.ts @@ -637,9 +637,10 @@ declare module 'xterm-headless' { registerMarker(cursorYOffset?: number): IMarker | undefined; /* - * Disposes of the terminal, detaching it from the DOM and removing any - * active listeners. - */ + * Disposes of the terminal, detaching it from the DOM and removing any + * active listeners. Once the terminal is disposed it should not be used + * again. + */ dispose(): void; /** diff --git a/typings/xterm.d.ts b/typings/xterm.d.ts index 4890b4dd..8c4e7735 100644 --- a/typings/xterm.d.ts +++ b/typings/xterm.d.ts @@ -952,7 +952,8 @@ declare module 'xterm' { /* * Disposes of the terminal, detaching it from the DOM and removing any - * active listeners. + * active listeners. Once the terminal is disposed it should not be used + * again. */ dispose(): void;