Skip to content

Commit 728be43

Browse files
committed
Updated Xterm.js to 3.10.1 and added package lock.
1 parent cffb697 commit 728be43

File tree

4 files changed

+484
-4
lines changed

4 files changed

+484
-4
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## Unreleased
2+
3+
* Updated Xterm.js to 3.10.1.
4+
* Added package-lock.json to the repository.
5+
16
## 0.5.7
27

38
* Added a custom close handler.

lib/terminal-session.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ export default class TerminalSession {
9393
// Kill the Pseudoterminal (pty) Process
9494
if (this.pty) this.pty.kill();
9595

96-
// Destroy the Terminal Instance
97-
if (this.xterm) this.xterm.destroy();
96+
// Dispose of the Terminal Instance
97+
if (this.xterm) this.xterm.dispose();
9898

9999
// Notify any observers that this session is being destroyed.
100100
this.emitter.emit('did-destroy', this);

0 commit comments

Comments
 (0)