Various Console fixes
|Reported by:||wjp||Owned by:||eriktorbjorn|
The attached patch should fix most of the problems that occur when the Console buffer overflows and wraps back to the start and some related issues:
* new lines are now cleared * scrollbar now works correctly after a wraparound * home/end now move the cursor to the start/end of the current prompt * shift+home/end move the window to the top/bottom * shift+pageup/pagedown move the window up/down a page
I renamed the function updateScrollBar to updateScrollBuffer because it now also updated some state not directly related to the scrollbar.
Ticket imported from: #956989. Ticket imported from: patches/445.