Gottox / terminal.js

Javascript terminal emulator library that aims to be xterm compliant and is supposed to work in browsers and node.js.
http://terminal.js.org
MIT License
593 stars 69 forks source link

Fix memory leak from TermState's _scrollback #115

Closed wmaciel closed 3 years ago

wmaciel commented 8 years ago

Inside TermState's _removeLine, the _scrollback buffer was being filled by the lines removed from _buffer.

That data, however, never gets freed up.

Since we don't have a scrollback functionality, this fix stops storing removed lines inside the _scrollback.

Gottox commented 8 years ago

Can you rebase and clean up the history? Thanks :)

Gottox commented 3 years ago

No response.