Thanks! Unfortunately, in my tests, there are a couple of problems:
The console does not quite scroll to the very bottom.
The console jumps to the bottom regardless of the position of the scroll bar. Better would be to only keep things scrolled to the bottom if the scroll bar is already at the bottom. This is how most popular terminal applications work.
I pushed an alternative fix: ad58bd7897614a0288c2882dfa51326d4e44e029
Which uses new utility methods: a6d860470addb48e92b9baafddbc9c8523c417f4
This is my take on fixing issue #7