Clarify you shouldn't use the object after Terminal.dispose
Fixes #3939
This commit is contained in:
Vendored
+4
-3
@@ -637,9 +637,10 @@ declare module 'xterm-headless' {
|
|||||||
registerMarker(cursorYOffset?: number): IMarker | undefined;
|
registerMarker(cursorYOffset?: number): IMarker | undefined;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Disposes of the terminal, detaching it from the DOM and removing any
|
* 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;
|
dispose(): void;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Vendored
+2
-1
@@ -952,7 +952,8 @@ declare module 'xterm' {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Disposes of the terminal, detaching it from the DOM and removing any
|
* 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;
|
dispose(): void;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user