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

Add a scrollback buffer #99

Open damiandennis opened 9 years ago

damiandennis commented 9 years ago

I am having trouble figuring out how to increase the number of rows in the TermState (dynamically growing the buffer to keep all history viewable or at least a defined limit). I suppose this is a feature request for a minimum/maximum rows.

damiandennis commented 9 years ago

my reason for wanting this is that I have a small region with the terminal but it is resizable to see more than the last X lines. I also don't want a huge scroll with empty content which is my current implementation to work around this.

Gottox commented 9 years ago

You mean a scrollback buffer? It's currently not implemented, but this should go on the todo.

damiandennis commented 9 years ago

yeah that is exactly what I am after. Thanks

uyarn commented 7 years ago

hi if scroll work now ?@Gottox