]> git.proxmox.com Git - mirror_xterm.js.git/commit
Scroll to bottom whenever handler is called
authorDaniel Imms <daimms@microsoft.com>
Mon, 28 Nov 2016 18:41:03 +0000 (10:41 -0800)
committerDaniel Imms <daimms@microsoft.com>
Mon, 28 Nov 2016 18:41:05 +0000 (10:41 -0800)
commit2bc8adee8c3cce6c96cd9b74e235964735837c14
treee28f9d7e8eee1df55c08b5705764935f5fa63350
parentc6eb7f136cc17517017dd3e8830e4a7f327cbff2
Scroll to bottom whenever handler is called

This catches all current and future cases for correctly scrolling to the bottom
on input by handling it in the handler immediately before emitting the data
event.

Fixes #378
src/xterm.js