mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Merge pull request #3958 from Tyriar/dispose_doc
Clarify you shouldn't use the object after Terminal.dispose
This commit is contained in:
Vendored
+4
-3
@@ -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;
|
||||
|
||||
/**
|
||||
|
||||
Vendored
+2
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user